@wepy/plugin-define
Version:
wepy define plugin
15 lines (11 loc) • 339 B
JavaScript
module.exports = {
definedVariable: 'http://www.foo.com',
inObjectProperty: { BASE_URL: 'http://foo.com' },
inString: 'BASE_URL',
inTemplateLiterals: 'http://www.bar.com/api/',
shouldReplaced: 'http://www.bar.com',
objectTest: 'development',
typeofTest: 'undefined',
typeofTest2: 'undefined',
builtinFuncValue: 666
};