mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
Initial commit
This commit is contained in:
commit
aa4021d1a2
163 changed files with 26530 additions and 0 deletions
29
rollup.config.mjs
Normal file
29
rollup.config.mjs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
import postcss from 'rollup-plugin-postcss';
|
||||
import commonjs from '@rollup/plugin-commonjs';
|
||||
import resolve from '@rollup/plugin-node-resolve';
|
||||
|
||||
export default {
|
||||
input: 'daggerheart.mjs',
|
||||
output: {
|
||||
file: 'build/daggerheart.js',
|
||||
format: 'cjs',
|
||||
sourcemap: true,
|
||||
},
|
||||
plugins: [
|
||||
postcss({
|
||||
config: {
|
||||
path: './postcss.config.js'
|
||||
},
|
||||
use: {
|
||||
less: { javascriptEnabled: true }
|
||||
},
|
||||
extensions: ['.less'],
|
||||
extract: false
|
||||
}),
|
||||
commonjs({
|
||||
include: /node_modules/,
|
||||
requireReturnsDefault: 'auto',
|
||||
}),
|
||||
resolve()
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue