Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/fuse.js

20 lines
374 B
JavaScript
Raw Normal View History

2019-01-11 19:58:25 +01:00
const {
FuseBox, SassPlugin, CSSPlugin, WebIndexPlugin,
} = require("fuse-box");
2019-01-11 18:50:54 +01:00
const fuse = FuseBox.init({
homeDir: ".",
output: "dist/$name.js",
plugins: [
2019-01-11 19:58:25 +01:00
WebIndexPlugin({ template: "packages/app/src/index.html" }),
[ SassPlugin(), CSSPlugin() ],
2019-01-11 18:50:54 +01:00
],
});
fuse.dev();
2019-01-11 19:58:25 +01:00
fuse.bundle("app").hmr().watch()
.instructions(">packages/app/src/index.ts");
2019-01-11 18:50:54 +01:00
fuse.run();