Skip to content

Commit

Permalink
Merge branch 'canary' into adjust/retain-hash-in-build-output
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Jan 9, 2020
2 parents 9bd446b + dd6406a commit 7eeaa56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/next/taskfile-babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ module.exports = function(task) {
const options = {
...babelOpts,
compact: true,
comments: false,
babelrc: false,
configFile: false,
filename: file.base,
Expand All @@ -31,7 +30,7 @@ module.exports = function(task) {
// Workaround for noop.js loading
if (file.base === 'next-dev.js') {
output.code = output.code.replace(
'__REPLACE_NOOP_IMPORT__',
/__REPLACE_NOOP_IMPORT__/g,
`import('./dev/noop');`
)
}
Expand Down

0 comments on commit 7eeaa56

Please sign in to comment.