We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5899a7 commit 1e1368bCopy full SHA for 1e1368b
index.js
@@ -6,6 +6,10 @@ var envify = require('envify/custom')
6
var uglifyify = require('uglifyify')
7
8
module.exports = function (b, opts) {
9
+ if (typeof b !== 'object') {
10
+ throw new Error('tinyify: must be used as a plugin, not a transform')
11
+ }
12
+
13
var env = Object.assign({
14
NODE_ENV: 'production'
15
}, process.env)
0 commit comments