Skip to content

Commit

Permalink
fix: don't disable other plugins for non pure.js files
Browse files Browse the repository at this point in the history
  • Loading branch information
tehsenaus committed Apr 29, 2018
1 parent 09d8b16 commit 53c3612
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ module.exports = function pureJsPlugin(babel) {
// We need the plugin to run before other babel plugins, which may generate 'impure' code
// https://jamie.build/babel-plugin-ordering.html
path.traverse(visitor);
} else {
path.stop();
}
},
}
Expand Down

0 comments on commit 53c3612

Please sign in to comment.