@biuxiu/codegen 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -166,7 +166,7 @@ module.exports.__wbindgen_throw = function(arg0, arg1) {
166
166
  throw new Error(getStringFromWasm0(arg0, arg1));
167
167
  };
168
168
 
169
- const path = require('path').join(__dirname, 'lua_codegen_bg.wasm');
169
+ const path = require('./lua_codegen_bg.wasm');
170
170
  const bytes = require('fs').readFileSync(path);
171
171
 
172
172
  const wasmModule = new WebAssembly.Module(bytes);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biuxiu/codegen",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "代码生成工具",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {