Skip to content

v2.10.0

Compare
Choose a tag to compare
@cheton cheton released this 06 Mar 09:47
· 55 commits to master since this release
  • Allows passing config options for specifying input/output folder rather than using command-line parameters (775067f)
    module.exports = {
      input: [
        'app/**/*.{js,jsx}',
        // Use ! to filter out files or directories
        '!app/**/*.spec.{js,jsx}',
        '!app/i18n/**',
        '!**/node_modules/**',
      ],
      output: './',
      options: { },
      transform: { },
    };
  • Allows passing acorn options provided by acorn parser
    trans: {
      acorn: {
        emcaVersion: 10, // defaults to 10
        sourceType: 'module', // defaults to 'module'
        // Check out https://github.com/acornjs/acorn/tree/master/acorn#interface for additional options
      }
    }
  • deps: acorn@^6.1.1
  • deps: acorn-stage3@^2.0.0
  • deps: i18next@*