rsnext/examples/with-reasonml/next.config.js
Anthony Mittaz 7f471a4463 Tweak ReasonML example (#7254)
* Lock bs-platform to 5.0.3 (avoiding issues with reason language server)

https://github.com/jaredly/reason-language-server/issues/275

* Reformat code

* Ask bucklescript to use es6 instead of commonjs

* Rework getInitialProps (can now use a promise)

* Ignore .bsb.lock
2019-05-05 13:02:27 +02:00

6 lines
157 B
JavaScript

const withTM = require('next-transpile-modules')
module.exports = withTM({
pageExtensions: ['jsx', 'js', 'bs.js'],
transpileModules: ['bs-platform']
})