File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const LoaderGenerator = webpackGenerator(
36
36
validate : str => str . length > 0
37
37
}
38
38
] ,
39
- path . join ( __dirname , "templates" ) ,
39
+ path . join ( __dirname , "../generate-loader/ templates" ) ,
40
40
[
41
41
"src/cjs.js.tpl" ,
42
42
"test/test-utils.js.tpl" ,
@@ -48,7 +48,9 @@ const LoaderGenerator = webpackGenerator(
48
48
"examples/simple/src/lazy-module.js.tpl" ,
49
49
"examples/simple/src/static-esm-module.js.tpl"
50
50
] ,
51
- [ "src/_index.js.tpl" ] ,
51
+ [
52
+ "src/_index.js.tpl"
53
+ ] ,
52
54
gen => ( { name : gen . props . name } )
53
55
) ;
54
56
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const PluginGenerator = webpackGenerator(
21
21
validate : str => str . length > 0
22
22
}
23
23
] ,
24
- path . join ( __dirname , "templates" ) ,
24
+ path . join ( __dirname , "../generate-plugin/ templates" ) ,
25
25
[
26
26
"src/cjs.js.tpl" ,
27
27
"test/test-utils.js.tpl" ,
@@ -30,7 +30,10 @@ const PluginGenerator = webpackGenerator(
30
30
"examples/simple/src/lazy-module.js.tpl" ,
31
31
"examples/simple/src/static-esm-module.js.tpl"
32
32
] ,
33
- [ "src/_index.js.tpl" , "examples/simple/_webpack.config.js.tpl" ] ,
33
+ [
34
+ "src/_index.js.tpl" ,
35
+ "examples/simple/_webpack.config.js.tpl"
36
+ ] ,
34
37
gen => ( { name : _ . upperFirst ( _ . camelCase ( gen . props . name ) ) } )
35
38
) ;
36
39
You can’t perform that action at this time.
0 commit comments