summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/webpack.config.js
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2021-02-05 11:16:22 -0800
committerMatthew Miller <matthew@millerti.me>2021-02-05 11:16:22 -0800
commit0917970d2d071f309cc97998a14192efe434577d (patch)
treeaf817c211437d771417dbc4fc54967c6d541ccf1 /packages/browser/webpack.config.js
parentd28aa6a3ca99ff3e26ffbad2b6944ee26871e4a1 (diff)
Update project name in build timestamp
Diffstat (limited to 'packages/browser/webpack.config.js')
-rw-r--r--packages/browser/webpack.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/browser/webpack.config.js b/packages/browser/webpack.config.js
index 245635c..1c060c3 100644
--- a/packages/browser/webpack.config.js
+++ b/packages/browser/webpack.config.js
@@ -1,6 +1,7 @@
const path = require('path');
const WebpackAutoInject = require('webpack-auto-inject-version');
+const packageJSON = require('./package.json');
const outputPath = path.resolve(__dirname, 'dist');
module.exports = {
@@ -28,7 +29,7 @@ module.exports = {
},
plugins: [
new WebpackAutoInject({
- SHORT: '@webauthentine/browser',
+ SHORT: packageJSON.name,
PACKAGE_JSON_INDENT: 2,
components: {
AutoIncreaseVersion: false,