Skip to content

Possible glitch with spaces around blocks #10

@vitexikora

Description

@vitexikora

This block:

export default /* DEV */ Object.keys(/* /DEV */ actionTypes /* DEV */).reduce(

should translate to export default actionTypes on production, however it goes to export defaultactionTypes, no matter how many spaces I add there. Only a newline is helping.

Is this a bug?

Webpack loader:

module: {
    rules: [
      {
        test: /\.jsx?$/,
        include: path.join(__dirname, 'src'),
        use: [
          'babel-loader',
          'webpack-strip-block?start=DEV&end=%2FDEV'
        ]
      },
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions