Add extollo package discovery config and webpack mode

This commit is contained in:
Garrett Mills 2021-11-26 23:45:00 -06:00
parent a131392574
commit b64fb999e7
2 changed files with 8 additions and 0 deletions

View File

@ -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"]
}
} }
} }

View File

@ -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',