mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Web-based check-in interface (#1985)
This commit is contained in:
23
src/pretix/static/npm_dir/rollup.config.js
Normal file
23
src/pretix/static/npm_dir/rollup.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import vue from 'rollup-plugin-vue'
|
||||
import { getBabelOutputPlugin } from '@rollup/plugin-babel'
|
||||
|
||||
export default {
|
||||
output: {
|
||||
format: 'iife',
|
||||
exports: 'named',
|
||||
},
|
||||
plugins: [
|
||||
getBabelOutputPlugin({
|
||||
presets: ['@babel/preset-env'],
|
||||
// Running babel on iife output is apparently discouraged since it can lead to global
|
||||
// variable leaks. Since we didn't get it to work on inputs, let's take that risk.
|
||||
// (In our tests, it did not leak anything.)
|
||||
allowAllFormats: true
|
||||
}),
|
||||
vue({
|
||||
css: true,
|
||||
compileTemplate: true,
|
||||
needMap: false,
|
||||
}),
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user