Skip to content

Commit

Permalink
fix: setup mql version properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 21, 2021
1 parent 809f7b0 commit e5f9016
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Microlink Query Language. The official HTTP client to interact with Microlink API for Node.js, browsers & Deno.",
"homepage": "https://nicedoc.io/microlinkhq/mql",
"version": "0.9.2",
"browser": "dist/browser.js",
"browser": "src/browser.js",
"main": "src/node.js",
"author": {
"email": "josefrancisco.verdu@gmail.com",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const build = ({ format, exports, input } = {}) => {
plugins: [
replace({
'process.env.NODE_ENV': JSON.stringify('production'),
__VERSION__: require('./package.json').version
__MQL_VERSION__: require('./package.json').version
}),
shim({
'clean-stack': 'export default str => str'
Expand Down
2 changes: 1 addition & 1 deletion src/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ module.exports = factory({
stringify,
got,
flatten,
VERSION: '__VERSION__'
VERSION: '__MQL_VERSION__'
})

0 comments on commit e5f9016

Please sign in to comment.