mirror of
https://github.com/coder/code-server.git
synced 2026-05-12 15:27:25 +02:00
Fix @coder imports
This commit is contained in:
18
fuse.js
18
fuse.js
@@ -1,23 +1,19 @@
|
||||
const { FuseBox, SassPlugin, CSSPlugin, CSSResourcePlugin } = require("fuse-box");
|
||||
const {
|
||||
FuseBox, SassPlugin, CSSPlugin, WebIndexPlugin,
|
||||
} = require("fuse-box");
|
||||
|
||||
const fuse = FuseBox.init({
|
||||
homeDir: ".",
|
||||
output: "dist/$name.js",
|
||||
plugins: [
|
||||
[
|
||||
SassPlugin(),
|
||||
CSSResourcePlugin({ dist: "dist/css-resources" }),
|
||||
CSSPlugin(),
|
||||
],
|
||||
WebIndexPlugin({ template: "packages/app/src/index.html" }),
|
||||
[ SassPlugin(), CSSPlugin() ],
|
||||
],
|
||||
});
|
||||
|
||||
fuse.dev();
|
||||
|
||||
fuse
|
||||
.bundle("app")
|
||||
.instructions("> packages/app/src/index.ts")
|
||||
.hmr()
|
||||
.watch();
|
||||
fuse.bundle("app").hmr().watch()
|
||||
.instructions(">packages/app/src/index.ts");
|
||||
|
||||
fuse.run();
|
||||
|
||||
Reference in New Issue
Block a user