Skip to content

I am unable to use this. I want chnage assets path in generated js file in build. #27

@bankimatglobant

Description

@bankimatglobant

I am unable to use this. I want change assets path in generated js file in build. Please provide me detail steps to implement this.

Currently, I have added below code in webpack.dev.js file.

module: {
loaders: [
{
test: /.*/,
loader: 'string-replace',
query: {
search: 'locales',
replace: 'bankim',
},
exclude: /node_modules/
}
],

And use npm install --save-dev string-replace-loader

Let me know if I miss something.

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