mirror of https://git.tuxpa.in/a/code-server.git
24 lines
382 B
JavaScript
24 lines
382 B
JavaScript
const { FuseBox, SassPlugin, CSSPlugin, CSSResourcePlugin } = require("fuse-box");
|
|
|
|
const fuse = FuseBox.init({
|
|
homeDir: ".",
|
|
output: "dist/$name.js",
|
|
plugins: [
|
|
[
|
|
SassPlugin(),
|
|
CSSResourcePlugin({ dist: "dist/css-resources" }),
|
|
CSSPlugin(),
|
|
],
|
|
],
|
|
});
|
|
|
|
fuse.dev();
|
|
|
|
fuse
|
|
.bundle("app")
|
|
.instructions("> packages/app/src/index.ts")
|
|
.hmr()
|
|
.watch();
|
|
|
|
fuse.run();
|