DRAFT | new theme - minimage
This commit is contained in:
parent
5116fe4640
commit
ac8d9e7eb3
90 changed files with 15302 additions and 1 deletions
21
themes/minimage/rollup.config.js
Normal file
21
themes/minimage/rollup.config.js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import babel from '@rollup/plugin-babel'
|
||||
import { terser } from 'rollup-plugin-terser'
|
||||
|
||||
export default {
|
||||
input: 'source/javascript/application.js',
|
||||
output: {
|
||||
file: 'static/js/application.js',
|
||||
format: 'iife',
|
||||
name: 'main',
|
||||
plugins: [terser()]
|
||||
},
|
||||
plugins: [
|
||||
resolve(),
|
||||
babel({ babelHelpers: 'bundled' }),
|
||||
terser()
|
||||
],
|
||||
global: {
|
||||
// jquery: '$' // When using jquery, it must be active.
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue