presetter-preset-rollup/configs/rollup.yaml

24 lines
755 B
YAML

input: '{source}/index.js'
output:
- file: '{output}/index.js'
format: cjs
sourcemap: 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]'
- - '@apply @rollup/plugin-wasm[default]'
- targetEnv: auto-inline