mirror of
https://github.com/coder/code-server.git
synced 2026-05-09 05:47:26 +02:00
Experimenting with FuseBox
This commit is contained in:
23
fuse.js
Normal file
23
fuse.js
Normal file
@@ -0,0 +1,23 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user