File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ module.exports = {
6363 context: __dirname ,
6464 entry: ' ./assets/js/index' ,
6565 output: {
66- path: path .resolve (' ./assets/bundles /' ),
66+ path: path .resolve (' ./assets/webpack_bundles /' ),
6767 filename: " [name]-[hash].js"
6868 },
6969
@@ -80,7 +80,7 @@ module.exports = {
8080WEBPACK_LOADER = {
8181 ' DEFAULT' : {
8282 ' CACHE' : not DEBUG ,
83- ' BUNDLE_DIR_NAME' : ' bundles /' , # must end with slash
83+ ' BUNDLE_DIR_NAME' : ' webpack_bundles /' , # must end with slash
8484 ' STATS_FILE' : os.path.join(BASE_DIR , ' webpack-stats.json' ),
8585 ' POLL_INTERVAL' : 0.1 ,
8686 ' TIMEOUT' : None ,
@@ -292,7 +292,8 @@ In the below example, `logo.png` can be any static asset shipped with any npm or
292292
293293` ./ webpack_production .config .js `
294294` ` ` javascript
295- config = require (' ./webpack.config.js' );
295+ var config = require (' ./webpack.config.js' );
296+ var BundleTracker = require (' webpack-bundle-tracker' );
296297
297298config .output .path = require (' path' ).resolve (' ./assets/dist' );
298299
You can’t perform that action at this time.
0 commit comments