mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Temporarily disable use of SourceMapDevToolPlugin wrapper as it might be possible to remove it shortly
This commit is contained in:
@@ -2,7 +2,6 @@ var isDevBuild = process.argv.indexOf('--env.prod') < 0;
|
||||
var path = require('path');
|
||||
var webpack = require('webpack');
|
||||
var ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||
var SourceMapDevToolPlugin = require('aspnet-webpack').SourceMapDevToolPlugin;
|
||||
|
||||
module.exports = {
|
||||
entry: { 'main': './ClientApp/boot.ts' },
|
||||
@@ -27,7 +26,7 @@ module.exports = {
|
||||
})
|
||||
].concat(isDevBuild ? [
|
||||
// Plugins that apply in development builds only
|
||||
new SourceMapDevToolPlugin({ moduleFilenameTemplate: '../../[resourcePath]' }) // Compiled output is at './wwwroot/dist/', but sources are relative to './'
|
||||
new webpack.SourceMapDevToolPlugin({ moduleFilenameTemplate: '../../[resourcePath]' }) // Compiled output is at './wwwroot/dist/', but sources are relative to './'
|
||||
] : [
|
||||
// Plugins that apply in production builds only
|
||||
new webpack.optimize.OccurenceOrderPlugin(),
|
||||
|
||||
Reference in New Issue
Block a user