Skip to content

webpack preprocessor not running #28

@jnewman

Description

@jnewman

I've got my tests setup w/ webpack and coverage preprocessors. These work as expected via CLI, but when I try to run via karma-intellij I get the following error (which makes me think the preprocessor isn't running):

SyntaxError: Use of reserved word 'import'
at http://localhost:9876/base/unit/attributes.spec.js?bf8f6bdd21402ea57b8260880929c7b7742f7d4b:57

Here's the config file I'm trying to use:

https://github.com/krux/prescribe/blob/jnewman-repro-intellij-integration-issue/test/karma-idea.config.js

Any pointers would be helpful. I've got a similar setup w/ coffee script preprocessors that works exactly as planned, so I'm wondering if it's something specific about multiple preprocessors.

For reference, I've attached images of my setup:

screen shot 2016-04-26 at 5 09 15 pm
screen shot 2016-04-26 at 5 19 02 pm

IntelliJ details:

IntelliJ IDEA 2016.1.1
Build #IU-145.597, built on March 29, 2016
JRE: 1.8.0_40-release-b132 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions