presetter-preset-rollup/configs/rollup.yaml

22 lines
588 B
YAML
Raw Normal View History

input: '{source}/index.ts'
output:
- file: '{output}/index.js'
format: cjs
sourcemap: true
plugins:
2023-06-30 05:12:46 +00:00
- '@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]'