Fix cssUrl module resolvers to support node6+

This commit is contained in:
SleepWalker
2016-11-12 11:03:44 +02:00
parent a80e58b640
commit 9e970e690b
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ module.exports = function(loader) {
loader.exec(`
var __webpack_public_path__ = '${loader.options.output.publicPath}';
${source}
`) + urlPostfix(url)
`, dirname) + urlPostfix(url)
)
) : resolve(url)
)