Skip to content

Have simple JS object for configuration #667

@ifraixedes

Description

@ifraixedes

I am wondering if you don't think that's nicer to have a simple and usual JS object for the configurations rather than having to wrap the string in double quotes because that object is provided as it's to the Webpack define plugin, but we could provide pass the JSON representation of it before assigning to process.env

I had that modification in my project and it was easy to make, however I created the project when this template was for webpack v1 and last week I did the update and found that it's hard and tedious to synchronize changes if you have modifications in the template build folder, so I rolled back them to have the less changes as possible in order to have a simple upgrades in the future.

Thanks for considering.

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