1
0
Fork 0
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:
nkzawa 2016-12-01 20:54:17 +09:00
parent c36e0d98fd
commit 214c885b90

View file

@ -72,7 +72,7 @@ export default async function createCompiler (dir, { hotReload = false, dev = fa
} }
const babelRuntimePath = require.resolve('babel-runtime/package') const babelRuntimePath = require.resolve('babel-runtime/package')
.replace(/[\\\/]package\.json$/, '') .replace(/[\\/]package\.json$/, '')
const loaders = [{ const loaders = [{
test: /\.js$/, test: /\.js$/,