Skip to content

Commit

Permalink
quantum simple example
Browse files Browse the repository at this point in the history
  • Loading branch information
nchanged committed Jun 4, 2017
1 parent d44dea1 commit 272b090
Show file tree
Hide file tree
Showing 7 changed files with 2,785 additions and 35 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,3 @@
{
"vsicons.presets.angular": false
}
16 changes: 16 additions & 0 deletions examples/quantum_simple/fuse.js
@@ -0,0 +1,16 @@
const { FuseBox, QuantumPlugin, WebIndexPlugin } = require("fuse-box");
const fuse = FuseBox.init({
homeDir: "src",
output: "dist/$name.js",
plugins: [
WebIndexPlugin(),
QuantumPlugin({
uglify: true
})
]
});
fuse.dev();
fuse.bundle("app")
.instructions(`>index.ts`);

fuse.run();
4 changes: 4 additions & 0 deletions examples/quantum_simple/src/foo.ts
@@ -0,0 +1,4 @@
export function Foo() {

}

2 changes: 2 additions & 0 deletions examples/quantum_simple/src/index.ts
@@ -0,0 +1,2 @@
import { Foo } from "./foo";
console.log(new Foo());
7 changes: 7 additions & 0 deletions examples/quantum_simple/src/tsconfig.json
@@ -0,0 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node"
}
}

0 comments on commit 272b090

Please sign in to comment.