mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-27 20:55:25 +00:00
20 lines
374 B
JavaScript
20 lines
374 B
JavaScript
const {
|
|
FuseBox, SassPlugin, CSSPlugin, WebIndexPlugin,
|
|
} = require("fuse-box");
|
|
|
|
const fuse = FuseBox.init({
|
|
homeDir: ".",
|
|
output: "dist/$name.js",
|
|
plugins: [
|
|
WebIndexPlugin({ template: "packages/app/src/index.html" }),
|
|
[ SassPlugin(), CSSPlugin() ],
|
|
],
|
|
});
|
|
|
|
fuse.dev();
|
|
|
|
fuse.bundle("app").hmr().watch()
|
|
.instructions(">packages/app/src/index.ts");
|
|
|
|
fuse.run();
|