Commit ef63c64f authored by 邱旭's avatar 邱旭

init

parent a8e20c38
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
return app; return app;
} }
document.oncontextmenu = () => false; // document.oncontextmenu = () => false;
</script> </script>
<script> <script>
......
...@@ -60,8 +60,8 @@ const options = { ...@@ -60,8 +60,8 @@ const options = {
} }
}), }),
typescript({ tsconfig: "./tsconfig.json" }), typescript({ tsconfig: "./tsconfig.json" }),
resolve(), resolve({ jsnext: true, preferBuiltins: true, browser: true }),
commonjs(), commonjs({ browser: true }),
json(), json(),
glslLoader({ glslLoader({
glslify: true, glslify: true,
......
...@@ -40,9 +40,9 @@ export default { ...@@ -40,9 +40,9 @@ export default {
__buildDate__: JSON.stringify(new Date()), __buildDate__: JSON.stringify(new Date()),
} }
}), }),
resolve(), resolve({ jsnext: true, preferBuiltins: true, browser: true }),
commonjs({ browser: true }),
typescript({ sourceMap: true, watch: false, }), typescript({ sourceMap: true, watch: false, }),
commonjs(),
json(), json(),
glslLoader({ glslLoader({
glslify: true, glslify: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment