Skip to content

modernizr-loader does not work with json5-loader@4 #53

@terrymun

Description

@terrymun

It seems that modernizr-loader does not work with json5-loader@4 (it works for json5-loader@3 and below). I get the following error:

path\to\.modernizrrc:1
(function (exports, require, module, __filename, __dirname) { export default {minify:true,options:['setClasses'],'feature-detects':['css/transformstylepreserve3d','css/transitions']}
                                                              ^^^^^^
SyntaxError: Unexpected token export

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