mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Add helpers for building
This commit is contained in:
@@ -58,10 +58,8 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"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",
|
"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",
|
||||||
"watch": "./node_modules/gulp-cli/bin/gulp.js watch",
|
"watch": "APP_ENV=development ./node_modules/.bin/webpack --watch",
|
||||||
"build": "./node_modules/gulp-cli/bin/gulp.js default",
|
"build:dev": "APP_ENV=development ./node_modules/.bin/webpack",
|
||||||
"build:components": "./node_modules/gulp-cli/bin/gulp.js components",
|
"build:prod": "APP_ENV=production ./node_modules/.bin/webpack"
|
||||||
"build:styles": "./node_modules/gulp-cli/bin/gulp.js styles",
|
|
||||||
"build:scripts": "./node_modules/gulp-cli/bin/gulp.js scripts"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class TailwindExtractor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
mode: 'development',
|
mode: process.env.APP_ENV,
|
||||||
devtool: 'source-map',
|
devtool: 'source-map',
|
||||||
performance: {
|
performance: {
|
||||||
hints: false,
|
hints: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user