Closed hmtri1011 closed 7 years ago
Same problem here, but with Meteor 1.4.3.1.
Hello :(, any supporter here :(
When I build on linux it works great, however on Windows I get the same error.
@-webkit-keyframes sk-fade-in {
^
SyntaxError: Invalid or unexpected token
Webpack config
loaders: [
'style-loader',
{
path: 'css-loader',
// Include sourcemaps for dev experience++.
query: { sourceMap: true },
},
{ path: 'postcss-loader' },
{
path: 'sass-loader',
options: {
outputStyle: 'expanded',
sourceMap: true,
},
},
]
I fount same error :)
Also getting error. Did anyone find a resolution?
It just means you haven't setup your project (with webpack/browserify) to handle importing css files.
After almost 8 hours trying to make this work with Meteor, I gave up and now I'm using better-react-spinkit. It's not easy to tweak the webpack configurations inside Meteor platform, so this may be useful for someone in my position.
For custom Webpack environments, had no troubles.
There are options for this in 3.0, using the REACT_SPINKIT_NO_STYLES environment variable
that env variable isnt available in the dist
, which provides no help in webpack environments
I have this error when trying to use:
This is my webpack config:
I'm using
"webpack": "^2.2.1", "css-loader": "^0.26.1", "style-loader": "^0.13.1"