Open raphamorim opened 7 years ago
blonde('./greeting.js') // same as blonde('./greeting.js').toParse() blonde('./greeting.js').toString() blonde('./greeting.js').toBundle() // generate: ./bundle.js blonde('./greeting.js').toBundle({filepath: './my-custom-bundle.js'}) blonde(MyES2018Module).toString() blonde(MyES2018Module).toParse() blonde(MyModule.App).toReactComponent() blonde(MyModule.App).toReactString() blonde('console.log(2)').toReactComponent()
https://github.com/raphamorim/blonde/commit/65097b199cc0b41cc5b42c01190728fc3b2d4f02