From 9aa9f3e98bd3613128b791500302a75d0ac4b330 Mon Sep 17 00:00:00 2001 From: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com> Date: Thu, 18 Aug 2022 16:39:01 -0400 Subject: [PATCH 1/2] Exposing the export correctly --- package.json | 2 +- webpack.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index beb8376..da55328 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bbcode-ast", - "version": "1.0.1", + "version": "1.0.2", "description": "Generate an AST of a BBCode fragment.", "main": "dist/index.js", "type": "commonjs", diff --git a/webpack.config.js b/webpack.config.js index e5045e4..4d1ca9e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -17,6 +17,7 @@ module.exports = { output: { filename: "bundle.js", path: path.resolve(__dirname, "dist"), + library: "bbcode-ast", }, devtool: "source-map", }; From 400e43a0d356123ddb09352338fe14036bb65dc9 Mon Sep 17 00:00:00 2001 From: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com> Date: Thu, 18 Aug 2022 16:57:19 -0400 Subject: [PATCH 2/2] Fix library --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 4d1ca9e..f3f7c43 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -17,7 +17,7 @@ module.exports = { output: { filename: "bundle.js", path: path.resolve(__dirname, "dist"), - library: "bbcode-ast", + library: "bbcode_ast", }, devtool: "source-map", };