File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 5858 },
5959 "scripts" : {
6060 "build:filemanager" : " ./node_modules/babel-cli/bin/babel.js public/themes/pterodactyl/js/frontend/files/src --source-maps --out-file public/themes/pterodactyl/js/frontend/files/filemanager.min.js" ,
61- "watch" : " ./node_modules/gulp-cli/bin/gulp.js watch" ,
62- "build" : " ./node_modules/gulp-cli/bin/gulp.js default" ,
63- "build:components" : " ./node_modules/gulp-cli/bin/gulp.js components" ,
64- "build:styles" : " ./node_modules/gulp-cli/bin/gulp.js styles" ,
65- "build:scripts" : " ./node_modules/gulp-cli/bin/gulp.js scripts"
61+ "watch" : " APP_ENV=development ./node_modules/.bin/webpack --watch" ,
62+ "build:dev" : " APP_ENV=development ./node_modules/.bin/webpack" ,
63+ "build:prod" : " APP_ENV=production ./node_modules/.bin/webpack"
6664 }
6765}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class TailwindExtractor {
2020}
2121
2222module . exports = {
23- mode : 'development' ,
23+ mode : process . env . APP_ENV ,
2424 devtool : 'source-map' ,
2525 performance : {
2626 hints : false ,
You can’t perform that action at this time.
0 commit comments