/ embarkConfig / pipeline.js
pipeline.js
1 // Embark has support for Flow enabled by default in its built-in webpack 2 // config: type annotations will automatically be stripped out of DApp sources 3 // without any additional configuration. Note that type checking is not 4 // performed during builds. 5 6 // To enable Flow type checking refer to the preconfigured template: 7 // https://github.com/embark-framework/embark-flow-template 8 // A new DApp can be created from that template with: 9 // embark new --template flow 10 11 module.exports = { 12 typescript: false, 13 enabled:false 14 // Setting `typescript: true` in this config will disable Flow support in 15 // Embark's default webpack config and enable TypeScript support: .ts and 16 // .tsx sources will automatically be transpiled into JavaScript without any 17 // additional configuration. Note that type checking is not performed during 18 // builds. 19 20 // To enable TypeScript type checking refer to the preconfigured template: 21 // https://github.com/embark-framework/embark-typescript-template 22 // A new DApp can be created from that template with: 23 // embark new --template typescript 24 };