arcanajs 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,9 +104,7 @@ const createClientConfig = () => {
104
104
  plugins: [
105
105
  new clean_webpack_plugin_1.CleanWebpackPlugin(),
106
106
  new html_webpack_plugin_1.default({
107
- template: fs_1.default.existsSync(path_1.default.resolve(cwd, "public/index.html"))
108
- ? path_1.default.resolve(cwd, "public/index.html")
109
- : path_1.default.resolve(__dirname, "../lib/server/default-index.html"),
107
+ template: path_1.default.resolve(__dirname, "../lib/server/default-index.html"),
110
108
  filename: "index.html",
111
109
  inject: "body",
112
110
  minify: isProduction
@@ -194,7 +192,7 @@ const createServerConfig = () => {
194
192
  },
195
193
  ],
196
194
  },
197
- devtool: isProduction ? "source-map" : "eval-source-map",
195
+ // devtool: isProduction ? "source-map" : "eval-source-map",
198
196
  };
199
197
  };
200
198
  exports.createServerConfig = createServerConfig;
@@ -0,0 +1,3 @@
1
+ declare var __non_webpack_require__: NodeRequire;
2
+
3
+ declare module "*.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arcanajs",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "ArcanaJS Framework",
5
5
  "main": "framework/lib/index.js",
6
6
  "types": "framework/lib/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "bin"
17
17
  ],
18
18
  "scripts": {
19
- "build": "tsc -p tsconfig.lib.json && cp src/lib/server/default-index.html framework/lib/server/",
19
+ "build": "tsc -p tsconfig.lib.json && cp src/lib/server/default-index.html framework/lib/server/ && cp src/lib/global.d.ts framework/lib/",
20
20
  "build:app": "node bin/arcanajs.js build",
21
21
  "dev:app": "node bin/arcanajs.js dev",
22
22
  "start:app": "node bin/arcanajs.js start",