Skip to content

Commit

Permalink
优化&更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Jun 2, 2023
1 parent c8f6153 commit 025739e
Show file tree
Hide file tree
Showing 10 changed files with 273 additions and 643 deletions.
2 changes: 1 addition & 1 deletion build-config/renderer-lyric/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
type: 'commonjs2',
},
path: path.join(__dirname, '../../dist'),
publicPath: 'auto',
publicPath: '',
},
resolve: {
alias: {
Expand Down
2 changes: 1 addition & 1 deletion build-config/renderer-scripts/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
type: 'commonjs2',
},
path: path.join(__dirname, '../../dist'),
publicPath: 'auto',
publicPath: '',
},
resolve: {
alias: {
Expand Down
16 changes: 7 additions & 9 deletions build-config/renderer/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
type: 'commonjs2',
},
path: path.join(__dirname, '../../dist'),
publicPath: 'auto',
publicPath: '',
},
resolve: {
alias: {
Expand All @@ -39,14 +39,6 @@ module.exports = {
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/,
// parser: {
// worker: [
// '*context.audioWorklet.addModule()',
// '*audioWorklet.addModule()',
// // *addModule() is not valid syntax
// // '...',
// ],
// },
},
{
test: /\.tsx?$/,
Expand All @@ -57,6 +49,12 @@ module.exports = {
appendTsSuffixTo: [/\.vue$/],
},
},
parser: {
worker: [
'*audioContext.audioWorklet.addModule()',
'...',
],
},
},
{
test: /\.node$/,
Expand Down
Loading

0 comments on commit 025739e

Please sign in to comment.