Skip to content

Commit

Permalink
Fix package
Browse files Browse the repository at this point in the history
Don't remove service worker
  • Loading branch information
b-straub committed Jul 19, 2024
1 parent f331a4b commit 5b7592d
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 27 deletions.
13 changes: 1 addition & 12 deletions DexieCloudNET/yarn/dexiecloud/webpackDEV.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const path = require('path')
const RemovePlugin = require('remove-files-webpack-plugin');

module.exports = {
mode: 'development',
Expand Down Expand Up @@ -31,15 +30,5 @@ module.exports = {
},
optimization: {
minimize: false
},
plugins: [
new RemovePlugin({
before: {
allowRootAndOutside: true,
include: [
path.resolve(__dirname, '../../wwwroot/js')
]
}
})
]
}
}
13 changes: 1 addition & 12 deletions DexieCloudNET/yarn/dexiecloud/webpackREL.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const path = require('path')
const TerserPlugin = require('terser-webpack-plugin');
const RemovePlugin = require('remove-files-webpack-plugin');

module.exports = {
mode: 'production',
Expand Down Expand Up @@ -33,15 +32,5 @@ module.exports = {
optimization: {
minimize: true,
minimizer: [new TerserPlugin()],
},
plugins: [
new RemovePlugin({
before: {
allowRootAndOutside: true,
include: [
path.resolve(__dirname, '../../wwwroot/js')
]
}
})
]
}
}
13 changes: 12 additions & 1 deletion DexieCloudNET/yarn/serviceworker/webpackDEV.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const path = require('path')
const RemovePlugin = require('remove-files-webpack-plugin');

module.exports = {
mode: 'development',
Expand Down Expand Up @@ -30,5 +31,15 @@ module.exports = {
},
optimization: {
minimize: false
}
},
plugins: [
new RemovePlugin({
before: {
allowRootAndOutside: true,
include: [
path.resolve(__dirname, '../../wwwroot/js')
]
}
})
]
}
13 changes: 12 additions & 1 deletion DexieCloudNET/yarn/serviceworker/webpackREL.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const path = require('path')
const TerserPlugin = require('terser-webpack-plugin');
const RemovePlugin = require('remove-files-webpack-plugin');

module.exports = {
mode: 'production',
Expand Down Expand Up @@ -32,5 +33,15 @@ module.exports = {
optimization: {
minimize: true,
minimizer: [new TerserPlugin()],
}
},
plugins: [
new RemovePlugin({
before: {
allowRootAndOutside: true,
include: [
path.resolve(__dirname, '../../wwwroot/js')
]
}
})
]
}
2 changes: 1 addition & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>1.3.0-pre</Version>
<Version>1.3.1-pre</Version>
</PropertyGroup>
</Project>

0 comments on commit 5b7592d

Please sign in to comment.