Skip to content

Styles not copying over on bundle with browserify. #433

@MattMcFarland

Description

@MattMcFarland

If using browserify and package.json to indicate which transforms to be used (which is the most expedient transform method) you cannot use lessify because transforms do not apply across module boundaries.

Per the Browserify Handbook + node_modules Transforms DO NOT apply across module boundaries!

The workarounds are:

  • Use alternative transform methods (spelling it out in command line, using task runner plugins, etc)
  • Manually copying LESS files over.
  • Overwriting react-select package.json to include browserify transforms.

I have an aging pull request to fix this: #412

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