diff --git a/scripts/bundle.sh b/scripts/bundle.sh index 3beb8e4b..5dffc2db 100755 --- a/scripts/bundle.sh +++ b/scripts/bundle.sh @@ -7,7 +7,6 @@ mkdir -p /tmp/memories cp -R appinfo l10n img js lib templates COPYING README.md CHANGELOG.md exiftest* composer* /tmp/memories cd /tmp -rm -f memories/appinfo/screencap* memories/js/*.map rm -rf memories.tar.gz cd memories diff --git a/webpack.js b/webpack.js index d76a12bd..c8bfa5d5 100644 --- a/webpack.js +++ b/webpack.js @@ -15,7 +15,7 @@ console.info('Building', appName, appVersion, '\n'); module.exports = { target: 'web', mode: buildMode, - devtool: isDev ? 'cheap-source-map' : false, + devtool: 'source-map', cache: isDev, entry: { @@ -107,12 +107,6 @@ module.exports = { includeAliases: ['stream', 'process'], // webdav }), - // Configure source map public path - new webpack.SourceMapDevToolPlugin({ - filename: '[file].map', - publicPath: path.join('/apps/', process.env.npm_package_name, '/js/'), - }), - // Bundle service worker new WorkboxPlugin.InjectManifest({ swSrc: path.resolve(path.join('src', 'service-worker.js')),