Skip to content

could this update "webpack"-- to-- "2.2.0", #22

@ckmilse

Description

@ckmilse

hi:
I use webpack "webpack": "2.2.0", I debug the loader.js, found code dont accept the 'id', and the options is '{}'

{ test: /\.(ts|js)$/, exclude: /node_modules/, use: [{ loader: StringReplacePlugin.replace(null,{ replacements: [{ pattern: /{{(.+Api)}}/g, replacement: function(match, p1, offset, string) { // console.log(arguments); // return 'tsestttt' // return secrets.web[p1]; } }] }), options: { importLoaders: 1 } }] },

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