diff options
author | Matthew Miller <matthew@millerti.me> | 2021-02-05 11:16:22 -0800 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2021-02-05 11:16:22 -0800 |
commit | 0917970d2d071f309cc97998a14192efe434577d (patch) | |
tree | af817c211437d771417dbc4fc54967c6d541ccf1 /packages/browser/webpack.config.js | |
parent | d28aa6a3ca99ff3e26ffbad2b6944ee26871e4a1 (diff) |
Update project name in build timestamp
Diffstat (limited to 'packages/browser/webpack.config.js')
-rw-r--r-- | packages/browser/webpack.config.js | 3 |
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, |