build: migrate widget doc generation script, ungit widget reference
This commit is contained in:
parent
6b68237f41
commit
4c98442fed
7 changed files with 1615 additions and 1479 deletions
25
scripts/docs.rollup.config.js
Normal file
25
scripts/docs.rollup.config.js
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
var commonjs = require('@rollup/plugin-commonjs'),
|
||||
nodeResolve = require('@rollup/plugin-node-resolve'),
|
||||
json = require('@rollup/plugin-json')
|
||||
|
||||
module.exports = {
|
||||
input: 'src/docs/widgets-reference.mjs',
|
||||
output: [
|
||||
{
|
||||
file: 'src/docs/widgets-reference.js',
|
||||
inlineDynamicImports: true,
|
||||
format: 'commonjs',
|
||||
sourcemap: false,
|
||||
strict: false,
|
||||
indent: false,
|
||||
name: '_'
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
json(),
|
||||
nodeResolve({
|
||||
browser: true
|
||||
}),
|
||||
commonjs()
|
||||
]
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue