2023-06-23 09:04:11 +00:00
|
|
|
{
|
|
|
|
"preset": [
|
|
|
|
"presetter-preset-rollup",
|
|
|
|
"presetter-preset-esm"
|
|
|
|
],
|
|
|
|
"config": {
|
|
|
|
"tsconfig": {
|
|
|
|
"compilerOptions": {
|
|
|
|
"lib": [
|
|
|
|
"ES2021",
|
|
|
|
"dom"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": false
|
2023-06-23 09:50:10 +00:00
|
|
|
},
|
|
|
|
"rollup": {
|
|
|
|
"output": [
|
|
|
|
{
|
|
|
|
"file": "dist/index.js",
|
|
|
|
"format": "cjs",
|
2023-06-23 11:56:45 +00:00
|
|
|
"sourcemap": "inline",
|
2023-06-23 09:50:10 +00:00
|
|
|
"inlineDynamicImports": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
[
|
|
|
|
"@apply @rollup/plugin-node-resolve[default]",
|
|
|
|
{
|
|
|
|
"browser": true
|
|
|
|
}
|
2023-06-23 11:56:45 +00:00
|
|
|
], [
|
|
|
|
"@apply @rollup/plugin-wasm[default]",
|
|
|
|
{
|
|
|
|
"targetEnv": "auto-inline"
|
|
|
|
}
|
2023-06-23 09:50:10 +00:00
|
|
|
]
|
|
|
|
]
|
2023-06-23 09:04:11 +00:00
|
|
|
}
|
2023-06-23 09:16:44 +00:00
|
|
|
},
|
|
|
|
"variable": {
|
|
|
|
"source": "src"
|
2023-06-23 09:04:11 +00:00
|
|
|
}
|
|
|
|
}
|