1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Remove console.log after verifying the correct files are ignored

This commit is contained in:
Tim Neutkens 2018-12-05 15:05:14 +01:00
parent a62a6276c7
commit 1a5fc941ce

View file

@ -17,12 +17,10 @@ export default function NextToNextServer (...args: any): PluginObj {
if (path.node.object.name !== 'module') return
if (path.node.property.name !== 'exports') return
foundModuleExports = true
console.log('FOUND', state.file.opts.filename)
}
})
if (!foundModuleExports) {
console.log('NOT FOUND', state.file.opts.filename)
return
}