mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
Change build directory
This commit is contained in:
+3
-3
@@ -39,7 +39,7 @@ const max = Math.max(...([...scripts].map(e => e[0].length)));
|
||||
function getScripts(args) {
|
||||
const { analyze, main, admin, tools, beta } = args;
|
||||
if (tools || beta) {
|
||||
return [...scripts, toolsScrips];
|
||||
return [...scripts];
|
||||
}
|
||||
|
||||
if (analyze || main) {
|
||||
@@ -64,7 +64,7 @@ export default (args = {}) =>
|
||||
},
|
||||
output: Object.assign({}, common.output, {
|
||||
filename: '[name]-[chunkhash:10].js',
|
||||
path: path.resolve(__dirname, 'build', outDir, 'scripts'),
|
||||
path: path.resolve(__dirname, 'dist', 'browser' , outDir, 'scripts'),
|
||||
}),
|
||||
devtool: script === 'bootstrap' ? 'source-map' : false,
|
||||
module: {
|
||||
@@ -97,7 +97,7 @@ export default (args = {}) =>
|
||||
modules: true,
|
||||
errorDetails: true,
|
||||
moduleTrace: true
|
||||
},
|
||||
},
|
||||
optimization: {
|
||||
minimizer: [
|
||||
new TerserPlugin({
|
||||
|
||||
Reference in New Issue
Block a user