fix: internalize self
This commit is contained in:
parent
e36089a19b
commit
38ea408ba3
|
@ -36,7 +36,8 @@ const resolveValidModulePath = (source) => (path) => {
|
|||
|
||||
module.exports = async (env, argv, flecks) => {
|
||||
const config = await configFn(env, argv, flecks);
|
||||
config.externals = await externals();
|
||||
const {name} = require(join(FLECKS_CORE_ROOT, 'package.json'));
|
||||
config.externals = await externals({allowlist: [new RegExp(`^${name}`)]});
|
||||
config.output.path = join(FLECKS_CORE_ROOT, 'dist', 'fleck');
|
||||
config.plugins.push(
|
||||
new CopyPlugin({
|
||||
|
|
Loading…
Reference in New Issue
Block a user