presetter-preset-rollup/configs/rollup.yaml

25 lines
790 B
YAML
Raw Permalink Normal View History

input: '{source}/index.js'
output:
- file: '{output}/index.js'
format: cjs
sourcemap: true
2023-07-02 15:45:05 +00:00
inlineDynamicImports: true
plugins:
- '@apply @rollup/plugin-json[default]'
- '@apply @rollup/plugin-node-resolve[default]'
- - '@apply @rollup/plugin-commonjs[default]'
- extensions:
- .js
- .jsx
- .ts
- .tsx
- '@apply @rollup/plugin-graphql[default]'
- '@apply @rollup/plugin-image[default]'
- '@apply @rollup/plugin-yaml[default]'
- - '@apply rollup-plugin-postcss[default]'
- inject:
insertAt: top
- '@apply rollup-plugin-visualizer[visualizer]'
2023-07-02 07:59:58 +00:00
- - '@apply @rollup/plugin-wasm[default]'
- targetEnv: auto-inline