This project has been moved to web-foundation and deprecated in favor of @shopify/babel-preset
Please follow that repository for updates and bug reports
Shopify’s org-wide set of Babel transforms
@shopify/babel-preset
Please follow that repository for updates and bug reports
Babel has fully migrated to the @babel
namespace and some packages are no longer receiving updates under the old package names.
Lack of fragment support is a blocker for using tsconfig.json#jsx = preserve
.
cc @lemonmade
Originally raised by @lemonmade in the JS repo: here
Seems like a clear win in place of the es2015, es2016, and es2017 presets.
Simply set {modules: false}
in draggable's webpack config, and you will get this:
Webpack3 should support the modules feature.
Originally raised by @macdonaldr93 in the old repo (here)
Working a project where I don't want process.env to be automatically transformed into value. Due to babel-plugin-transform-inline-environment-variables, my environment variables are getting transformed to undefined.
We use babel-preset-shopify
in a lot of places, which is fantastic for getting build settings that work. However developers inevitably forget or don't know to include polyfills for es6 features we use and their apps break either in CI or in production and don't notice because everybody uses Chrome.
It would be great if we could provide a config here with the necessary polyfills automatically included and instruct people to use it along with something like the assets gem.
{
babel: {
preset: 'babel-preset-shopify/web'
}
}
Sound good @Shopify/javascript ?
https://greenkeeper.io/ should help us keep dependencies up to date.
At least this one seems like a win, unless there is another reason not to use it: https://babeljs.io/docs/plugins/transform-react-inline-elements/
cc @lemonmade
● Test suite failed to run
Unexpected token ) (While processing preset: "/opt/atlassian/pipelines/agent/build/node_modules/babel-preset-shopify/node.js")
at Object.<anonymous> (node_modules/babel-preset-shopify/node.js:1:90)
However, locally the same thing is working fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.