mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-20 09:38:37 +08:00
Add: Version property
This commit is contained in:
@@ -63,6 +63,9 @@ module.exports = {
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.BannerPlugin(banner)
|
||||
new webpack.BannerPlugin(banner),
|
||||
new webpack.DefinePlugin({
|
||||
VERSION: '\'' + pkg.version + '\''
|
||||
})
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user