Closed zeusdeux closed 2 years ago
Hi folks! How can one --define multiple build time constants?
--define
Passing --define n number of times fails with TypeError: globalStrings.split is not a function in parseMappingArgument which I believe comes from this invocation — https://github.com/developit/microbundle/blob/master/src/index.js#L374
n
TypeError: globalStrings.split is not a function
parseMappingArgument
Ah, nvm, sorted. Got it from the code comment here. It's --define A=1,B=2
--define A=1,B=2
Thanks!
Hi folks! How can one
--define
multiple build time constants?Passing
--define
n
number of times fails withTypeError: globalStrings.split is not a function
inparseMappingArgument
which I believe comes from this invocation — https://github.com/developit/microbundle/blob/master/src/index.js#L374