gajus / gajus/babel-plugin-react-css-modules

"ParseError: Unexpected token" - using v3.3.3 + Browserify v16.1.0

Open
#162 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
159
PR merge metrics
No merged PRs in 30d

Description

Please see https://github.com/basher/react-no-webpack

This is a simple React UI library POC. I want to use CSS Modules **without using Webpack**.

The error happens when parsing
https://github.com/basher/react-no-webpack/blob/master/src/lib/components/WidgetCSS/WidgetCSS.css

This is imported inside
https://github.com/basher/react-no-webpack/blob/master/src/lib/components/WidgetCSS/WidgetCSS.js

I'm simply executing **build** or **watch** commands from "package.json" - e.g.
**browserify ./src/index.js -o ./build/bundle.js -t babelify**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.