art
art copied to clipboard
Check if `this` is defined
@sebmarkbage This needs to be merged.
@sebmarkbage Yes, this needs to be merged ASAP!
I'm running into this issue as well with babel+webpack. Anyone have a work around?
Turns out you can just exclude this from babel and it works just fine.
{
test: /\.js?$/,
loader: 'babel-loader',
exclude: /node_modules\/art/,
query: {
presets: [
['env', {
loose: true
}],
'react'
],
plugins: [
'transform-object-rest-spread',
'transform-class-properties'
]
}
}
Can this be merged? Also, what workaround can be used if not using Webpack, only Babel?
Should be able to exclude certain files using .babelrc. https://stackoverflow.com/questions/35415301/make-babel-exclude-test-files
Should be able to exclude certain files using .babelrc. https://stackoverflow.com/questions/35415301/make-babel-exclude-test-files
Yeah, but was not able to make it work. Anyway, I tried what's done on this pull-request and tests are passing, that's the only thing I wanted, so it's ok for me for now, but definitely this should be merged.
this should be merged
Please merge this ASAP!
Can we please merge this?
Can we please merge this?