fix placeholder
Showing
2 changed files
with
5 additions
and
5 deletions
... | @@ -5,9 +5,9 @@ module.exports = { | ... | @@ -5,9 +5,9 @@ module.exports = { |
5 | mode: 'production', | 5 | mode: 'production', |
6 | entry: './src/index.tsx', | 6 | entry: './src/index.tsx', |
7 | output: { | 7 | output: { |
8 | filename: '${projectName}.js', | 8 | filename: '{{ projectName }}.js', |
9 | path: path.resolve(__dirname, 'dist'), | 9 | path: path.resolve(__dirname, 'dist'), |
10 | library: '${projectName}', | 10 | library: '{{ projectName }}', |
11 | libraryTarget: 'umd' | 11 | libraryTarget: 'umd' |
12 | }, | 12 | }, |
13 | resolve: { | 13 | resolve: { |
... | @@ -29,7 +29,7 @@ module.exports = { | ... | @@ -29,7 +29,7 @@ module.exports = { |
29 | loader: 'css-loader', | 29 | loader: 'css-loader', |
30 | options: { | 30 | options: { |
31 | modules: true, | 31 | modules: true, |
32 | localIdentName: '${projectName}__[local]__[hash:base64:5]', | 32 | localIdentName: '{{ projectName }}__[local]__[hash:base64:5]', |
33 | importLoaders: 1 | 33 | importLoaders: 1 |
34 | } | 34 | } |
35 | }, { | 35 | }, { |
... | @@ -48,7 +48,7 @@ module.exports = { | ... | @@ -48,7 +48,7 @@ module.exports = { |
48 | }, | 48 | }, |
49 | plugins: [ | 49 | plugins: [ |
50 | new MiniCssExtractPlugin({ | 50 | new MiniCssExtractPlugin({ |
51 | filename: '${projectName}.css', | 51 | filename: '{{ projectName }}.css', |
52 | chunkFilename: '[id].css' | 52 | chunkFilename: '[id].css' |
53 | }) | 53 | }) |
54 | ] | 54 | ] | ... | ... |
... | @@ -28,7 +28,7 @@ module.exports = { | ... | @@ -28,7 +28,7 @@ module.exports = { |
28 | options: { | 28 | options: { |
29 | namedExport: true, | 29 | namedExport: true, |
30 | modules: true, | 30 | modules: true, |
31 | localIdentName: '${projectName}__[local]__[hash:base64:5]', | 31 | localIdentName: '{{ projectName }}__[local]__[hash:base64:5]', |
32 | importLoaders: 2 | 32 | importLoaders: 2 |
33 | } | 33 | } |
34 | }, { | 34 | }, { | ... | ... |
-
Please register or sign in to post a comment