diff --git a/ace-loader/webpack.lite.config.js b/ace-loader/webpack.lite.config.js index 1dceb40..b49289f 100644 --- a/ace-loader/webpack.lite.config.js +++ b/ace-loader/webpack.lite.config.js @@ -47,9 +47,7 @@ const webpackConfig = { }, output: { filename: '[name].js', - devtoolModuleFilenameTemplate: (info) => { - return `${info.absoluteResourcePath.replace(process.env.projectRootPath + path.sep, '')}`; - }, + devtoolModuleFilenameTemplate: 'webpack:///[absolute-resource-path]' }, devtool: 'nosources-source-map', mode: 'development',