Add extollo package discovery config and webpack mode

master
Garrett Mills 2 years ago
parent a131392574
commit b64fb999e7

@ -49,5 +49,12 @@
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"typescript": "^4.5.2", "typescript": "^4.5.2",
"uuid": "^8.3.2" "uuid": "^8.3.2"
},
"extollo": {
"discover": true,
"assets": {
"discover": true,
"basePath": ["dist"]
}
} }
} }

@ -2,6 +2,7 @@ const path = require('path')
module.exports = { module.exports = {
entry: './lib/index.js', entry: './lib/index.js',
mode: 'production',
output: { output: {
path: path.resolve(__dirname, 'dist'), path: path.resolve(__dirname, 'dist'),
filename: 'extollo-ui.dist.js', filename: 'extollo-ui.dist.js',

Loading…
Cancel
Save