presetter-preset-rollup/configs/rollup.yaml

25 lines
790 B
YAML

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