Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Fixes unnecessary regenerator for Node 6.9, error in source-map-support
Browse files Browse the repository at this point in the history
  • Loading branch information
eliperelman committed Feb 16, 2017
1 parent ff37488 commit f32539f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/neutrino-preset-node/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const CWD = process.cwd();
const SRC = path.join(CWD, 'src');
const BUILD = path.join(CWD, 'build');
const TEST = path.join(CWD, 'test');
const PROJECT_MODULES = path.join(CWD, 'node_modules');
const MODULES = path.join(__dirname, '../node_modules');

module.exports = neutrino => {
Expand Down Expand Up @@ -55,7 +56,7 @@ module.exports = neutrino => {
config
.plugin('banner')
.use(webpack.BannerPlugin, {
banner: `require(${require.resolve('source-map-support')}).install();`,
banner: `require('${require.resolve('source-map-support')}').install();`,
raw: true,
entryOnly: true
});
Expand Down Expand Up @@ -118,7 +119,6 @@ module.exports = neutrino => {
require.resolve('babel-preset-env'),
{
modules: false,
include: 'transform-regenerator',
targets: {
node: 6.9
}
Expand Down

0 comments on commit f32539f

Please sign in to comment.