0.3.3 • Published 5 years ago
rollup-plugin-auto-manifest v0.3.3
rollup-plugin-auto-manifest
Update your Chrome Extension manifest.json
automatically.
This plugin requires rollup-plugin-manifest-entry
as a peer dependency.
Installation
npm i rollup-plugin-auto-manifest rollup-plugin-manifest-entry -D
Usage
import autoManifest from 'rollup-plugin-auto-manifest'
import manifestEntry from 'rollup-plugin-manifest-entry'
import pkg from './package.json'
export default {
input: './src/manifest.json',
output: {
dir: './build'
}
plugins: [
autoManifest({
pkg
}),
manifestEntry({
copyManifest: false,
})
]
}