mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
25 lines
516 B
JavaScript
25 lines
516 B
JavaScript
|
import terser from "@rollup/plugin-terser";
|
||
|
import scss from "rollup-plugin-scss";
|
||
|
|
||
|
export default {
|
||
|
input: "./main.js",
|
||
|
output: [
|
||
|
{
|
||
|
file: "../dist/bundle.js",
|
||
|
},
|
||
|
{
|
||
|
file: "../dist/bundle.min.js",
|
||
|
format: "iife",
|
||
|
name: "version",
|
||
|
plugins: [terser()],
|
||
|
},
|
||
|
],
|
||
|
plugins: [
|
||
|
scss({
|
||
|
fileName: "bundle.css",
|
||
|
sourceMap: true,
|
||
|
outputStyle: "compressed",
|
||
|
}),
|
||
|
],
|
||
|
};
|