You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/web/.ministarrc.js

21 lines
447 B
JavaScript

const copy = require('rollup-plugin-copy');
const path = require('path');
module.exports = {
externalDeps: ['react'],
rollupPlugins: ({ pluginName }) => [
copy({
targets: [
{
src: path.resolve(
__dirname,
`./plugins/${pluginName}`,
'./assets/**/*'
),
dest: path.resolve(__dirname, `./dist/plugins/${pluginName}/assets/`),
},
],
}),
],
};