-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-modal versions available: 3.0.0 #2162
Comments
Should be handled in #2098 |
@Hypnosphi I'm not sure where should I ask this question, but |
How exactly does it rely on it? |
It's in the .babelrc. |
It's used only in react-modal library development and shouldn't affect end users. Which errors do you encounter? |
Using
I get following error;
And when I supply this plugin at my app level, I get |
Looks like you‘re processing |
I basically copy pasted my actual // var path = require('path')
var ExtractTextPlugin = require('extract-text-webpack-plugin')
var autoprefixer = require('autoprefixer')
var webpack = require('webpack')
const _exports = {};
module.exports = {
output: {
filename: '[name].js',
chunkFilename: '[name].js',
path: 'dist',
publicPath: '/'
},
module: {
rules: [
{
test: /\.jsx?$/,
loader: 'babel-loader'
},
{
test: /\.scss$/,
loader: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: 'css-loader!postcss-loader!sass-loader'
})
}
]
},
plugins: [
new webpack.optimize.OccurrenceOrderPlugin(),
new webpack.LoaderOptionsPlugin({
minimize: true,
debug: false,
postcss: [autoprefixer({browsers: ['last 2 versions', '> 5%']})]
}),
new ExtractTextPlugin('[name].css')
]
} |
You should probably remove output and babel-loader, they are added automatically by storybook |
Hmm, it's really strange. Without using |
Can you maybe upload your project or some relevant part of it on GitHub? |
Sure, I'll try to provide that. Thank you so much for taking out time to help me ! |
There are new versions of react-modal available from npm.
3.0.0
The text was updated successfully, but these errors were encountered: