Skip to content

Commit

Permalink
Resolve preset es2015 from next directory (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens authored and arunoda committed Feb 2, 2017
1 parent a97ca92 commit f971734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/build/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default async function createCompiler (dir, { dev = false, quiet = false
}

const transpiled = babelCore.transform(content, {
presets: ['es2015'],
presets: [require.resolve('babel-preset-es2015')],
sourceMaps: dev ? 'both' : false,
inputSourceMap: sourceMap
})
Expand Down

0 comments on commit f971734

Please sign in to comment.