|
@@ -69,15 +69,15 @@ module.exports = {
|
|
|
'~plugins': path.join(__dirname, 'plugins'),
|
|
'~plugins': path.join(__dirname, 'plugins'),
|
|
|
'~store': path.join(__dirname, 'store')
|
|
'~store': path.join(__dirname, 'store')
|
|
|
})
|
|
})
|
|
|
- console.log( config.plugins)
|
|
|
|
|
- config.plugins.push(new HtmlWebpackPlugin({
|
|
|
|
|
- title: 'React Title !',
|
|
|
|
|
- template: './app.html',
|
|
|
|
|
- minify: {
|
|
|
|
|
- removeAttributeQuotes: true
|
|
|
|
|
- },
|
|
|
|
|
- inject: 'body'
|
|
|
|
|
- }))
|
|
|
|
|
|
|
+ // console.log( config.plugins)
|
|
|
|
|
+ // config.plugins.push(new HtmlWebpackPlugin({
|
|
|
|
|
+ // title: 'React Title !',
|
|
|
|
|
+ // template: './app.html',
|
|
|
|
|
+ // minify: {
|
|
|
|
|
+ // removeAttributeQuotes: true
|
|
|
|
|
+ // },
|
|
|
|
|
+ // inject: 'body'
|
|
|
|
|
+ // }))
|
|
|
// config.resolve.alias['~utils'] = path.join(__dirname, 'utils')
|
|
// config.resolve.alias['~utils'] = path.join(__dirname, 'utils')
|
|
|
// config.resolve.alias['~components'] = path.join(__dirname, 'components')
|
|
// config.resolve.alias['~components'] = path.join(__dirname, 'components')
|
|
|
// config.resolve.alias['assets'] = path.join(__dirname, './assets')
|
|
// config.resolve.alias['assets'] = path.join(__dirname, './assets')
|