-
-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Description
How can I configure's bacpack to transpile some code from node_modules?
I have 2 private package writen in esnext.
I see that node_modules
is excluded.
I trying the following:
// backpack.config.js
webpack(config) {
const jsRule = config.module.rules.find(rule => rule.test.test('.js'));
delete jsRule.exclude;
}
Also tryed:
const jsrule = config.module.rules.find(rule => rule.test.test('.js'));
jsrule.include = [path.resolve('node_modules', 'dir-to-module')];
NourSammour
Metadata
Metadata
Assignees
Labels
No labels