many frontend changes that need generic change
This commit is contained in:
@@ -5,9 +5,13 @@ module.exports = [{
|
||||
target: "web",
|
||||
|
||||
entry: path.resolve(__dirname, '../../lib/FrontblockLib.js'),
|
||||
externals: ['log4js'],
|
||||
output: {
|
||||
path: path.resolve(__dirname, '../../dist'),
|
||||
filename: 'FrontblockLib.js',
|
||||
},
|
||||
optimization: {
|
||||
minimize: false, // <---- disables uglify.
|
||||
}
|
||||
},{
|
||||
mode: 'production',
|
||||
@@ -19,7 +23,6 @@ module.exports = [{
|
||||
__dirname: false,
|
||||
Buffer: true,
|
||||
},
|
||||
|
||||
|
||||
resolve: {
|
||||
// Add `.ts` and `.tsx` as a resolvable extension.
|
||||
@@ -32,9 +35,7 @@ module.exports = [{
|
||||
]
|
||||
},
|
||||
|
||||
externals:{
|
||||
knex: "../plugins/node_modules/knex"
|
||||
},
|
||||
externals: ['knex'],
|
||||
optimization: {
|
||||
minimize: false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user