We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffb556c commit 8e84640Copy full SHA for 8e84640
webpack.config.js webpack.config.tswebpack.config.js renamed to webpack.config.ts
@@ -1,9 +1,10 @@
1
-"use strict";
2
-
3
-const path = require("path");
4
-const webpack = require("webpack");
5
-const { CheckEsVersionPlugin } = require("@bitjourney/check-es-version-webpack-plugin");
6
-const _ = require("lodash");
+import path from "path";
+// @ts-ignore
+import webpack from "webpack";
+import { CheckEsVersionPlugin } from "@bitjourney/check-es-version-webpack-plugin";
7
+import _ from "lodash";
8
9
const config = {
10
mode: "production",
@@ -51,7 +52,7 @@ const config = {
51
52
devtool: "source-map",
53
};
54
-module.exports = [
55
+export default [
56
// default bundle does not includes wasm
57
((config) => {
58
config.output.filename = "msgpack.js";
0 commit comments