We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55e487d commit 6fd3f7fCopy full SHA for 6fd3f7f
1 file changed
lib/project.js
@@ -49,7 +49,7 @@ exports.Project = class {
49
installTranspiler() {
50
switch (this.model.transpiler.id) {
51
case 'babel':
52
- installBabel();
+ installBabel.call(this);
53
break;
54
case 'typescript':
55
installTypeScript();
@@ -201,7 +201,10 @@ function installBabel() {
201
plugins: [
202
'transform-es2015-modules-commonjs'
203
],
204
- only: /aurelia_project/
+ ignore: (filename) => {
205
+ let relativeFromProjectRoot = path.relative(this.directory, filename);
206
+ return !/^aurelia_project/.test(relativeFromProjectRoot);
207
+ }
208
});
209
}
210
0 commit comments