mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-07 21:47:02 +09:00
fix compiling by ignoring missing module
Missing module osx-temperature-sensor
This commit is contained in:
parent
f1b0584210
commit
d07342cfed
2 changed files with 13 additions and 2 deletions
|
@ -116,6 +116,10 @@ module.exports = (env, argv) => {
|
|||
plugins: [
|
||||
//new BundleAnalyzerPlugin(),
|
||||
|
||||
new rspack.IgnorePlugin({
|
||||
resourceRegExp: /osx-temperature-sensor/,
|
||||
}),
|
||||
|
||||
new rspack.optimize.LimitChunkCountPlugin({
|
||||
maxChunks: 1,
|
||||
}),
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
const rspack = require('@rspack/core');
|
||||
|
||||
module.exports = (env) => {
|
||||
return {
|
||||
target: 'node',
|
||||
|
@ -18,7 +20,12 @@ module.exports = (env) => {
|
|||
rules: [
|
||||
{ test: /\.node$/, loader: 'node-loader' },
|
||||
]
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
plugins: [
|
||||
new rspack.IgnorePlugin({
|
||||
resourceRegExp: /osx-temperature-sensor/,
|
||||
}),
|
||||
],
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue