Skip to content
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

module needs transpiling to es5 #10

Open
sawyna opened this issue Dec 4, 2018 · 1 comment
Open

module needs transpiling to es5 #10

sawyna opened this issue Dec 4, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sawyna
Copy link

sawyna commented Dec 4, 2018

Using aircall-everywhere npm module requires the user to transpile the code to es5 for uglifyjs plugin to work. Reference.

Currently I use the above suggested approach allowing my babel transpile to include aircall-everywhere module like this.

rules: [
            {
                test: /\.js*$/,
                exclude: /node_modules\/(?!(aircall-everywhere))/,
                loader: 'babel-loader',
                query: {
                    presets: ['env', 'react'],
                    "plugins": ["transform-object-rest-spread"]
                }
            },

Rest of my webpack config follows

It would be nice to transpile the code to es5 and then publish to npm.

@hereismass hereismass self-assigned this Dec 4, 2018
@hereismass hereismass added the enhancement New feature or request label Dec 4, 2018
@hereismass
Copy link
Contributor

Thanks for the message. I'll look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants