mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-10 12:00:17 +08:00
@@ -9,7 +9,8 @@
|
||||
|
||||
module.exports = {
|
||||
output: {
|
||||
filename: 'main.js'
|
||||
filename: 'main.js',
|
||||
publicPath: '/assets/'
|
||||
},
|
||||
|
||||
cache: true,
|
||||
|
||||
@@ -10,8 +10,8 @@ var webpack = require('webpack');
|
||||
|
||||
module.exports = {
|
||||
output: {
|
||||
publicPatch: 'dist/',
|
||||
path: 'dist/scripts/',
|
||||
publicPath: '/assets/',
|
||||
path: 'dist/assets/',
|
||||
filename: 'main.js'
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user