mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
remove unnecessary escape character for lint
This commit is contained in:
parent
c36e0d98fd
commit
214c885b90
|
@ -72,7 +72,7 @@ export default async function createCompiler (dir, { hotReload = false, dev = fa
|
|||
}
|
||||
|
||||
const babelRuntimePath = require.resolve('babel-runtime/package')
|
||||
.replace(/[\\\/]package\.json$/, '')
|
||||
.replace(/[\\/]package\.json$/, '')
|
||||
|
||||
const loaders = [{
|
||||
test: /\.js$/,
|
||||
|
|
Loading…
Reference in a new issue