Unverified Commit dd6406ac authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Add Back Comments (#10019)

* Add Back Comments

* remove property all together

* Replace all instances
parent af82f322
...@@ -10,7 +10,6 @@ module.exports = function(task) { ...@@ -10,7 +10,6 @@ module.exports = function(task) {
const options = { const options = {
...babelOpts, ...babelOpts,
compact: true, compact: true,
comments: false,
babelrc: false, babelrc: false,
configFile: false, configFile: false,
filename: file.base, filename: file.base,
...@@ -31,7 +30,7 @@ module.exports = function(task) { ...@@ -31,7 +30,7 @@ module.exports = function(task) {
// Workaround for noop.js loading // Workaround for noop.js loading
if (file.base === 'next-dev.js') { if (file.base === 'next-dev.js') {
output.code = output.code.replace( output.code = output.code.replace(
'__REPLACE_NOOP_IMPORT__', /__REPLACE_NOOP_IMPORT__/g,
`import('./dev/noop');` `import('./dev/noop');`
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment