Commit d04f0f53 authored by echel0n's avatar echel0n

Added sourcemap creation via webpack

parent 0a84d4f7
......@@ -80,4 +80,5 @@ Thumbs.db
/bower_components/
/node_modules/
/src/spritesmith-generated/
/dist/
\ No newline at end of file
/dist/
/sickrage/core/webserver/static/js/core.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -62,8 +62,10 @@ module.exports = {
entry: './src/app.js',
output: {
path: path.resolve(__dirname, 'sickrage/core/webserver/static/js'),
filename: 'core.min.js'
filename: 'core.min.js',
sourceMapFilename: "core.js.map"
},
devtool: "source-map",
module: {
rules: [
{
......@@ -144,9 +146,9 @@ module.exports = {
}),
new SentryWebpackPlugin({
release: version,
include: '.',
include: path.resolve(__dirname, 'sickrage/core/webserver/static/js'),
ignoreFile: '.sentrycliignore',
ignore: ['node_modules', 'webpack.config.js', 'core.min.js', 'app.js'],
ignore: ['node_modules', 'webpack.config.js'],
configFile: 'sentry.properties'
}),
new OptimizeCSSAssetsPlugin(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment