mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
udpate: saas deprecation warnining supressed
This commit is contained in:
parent
4047f50d5f
commit
79ace11290
1 changed files with 12 additions and 1 deletions
|
@ -23,7 +23,18 @@ const getConfig = (outdir) => ({
|
||||||
splitting: true,
|
splitting: true,
|
||||||
format: "esm",
|
format: "esm",
|
||||||
packages: "external",
|
packages: "external",
|
||||||
plugins: [sassPlugin()],
|
plugins: [
|
||||||
|
sassPlugin({
|
||||||
|
// filter deprecation warnings
|
||||||
|
logger: {
|
||||||
|
warn: (message, { deprecation }) => {
|
||||||
|
if (!deprecation) {
|
||||||
|
console.warn(message);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
],
|
||||||
target: "es2020",
|
target: "es2020",
|
||||||
assetNames: "[dir]/[name]",
|
assetNames: "[dir]/[name]",
|
||||||
chunkNames: "[dir]/[name]-[hash]",
|
chunkNames: "[dir]/[name]-[hash]",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue