babel

Webpack command in node brings /config/webpack/development.js not found

假装没事ソ 提交于 2019-12-14 03:12:31
问题 I have written my webpack.config file but when i run webpack from terminal i get back an error saying: ERROR: Webpack config /home/likono/learn/yak-yik/config/webpack/development.js not found, please run 'bundle exec rails webpacker:install' to install webpacker with default configs or add the

How to configure my Python 2.7 to use the correct Babel installation on my OSX Mavericks system?

烂漫一生 提交于 2019-12-13 06:23:22
问题 This is the follow up on my previous question. I have an OSX Mavericks machine where I installed Python 2.7 and Babel 1.3 using MacPorts. The problem is that it seems I have at least two versions of babel on that machine and except for the one I installed using MacPort, the other does not have

React Native JS bundle crashes on iOS Release, Babel not working?

不问归期 提交于 2019-12-13 04:37:03
问题 My React Native build compiles in Debug and runs fine, but when I run my Release scheme the spread operators are throwing errors, causing the build to crash. Specifically, the first error thrown is from a spread operator in the NativeBase library. For reference, my .babelrc is here: { "presets":

what is this code case 6:case “end”:return _context15.stop() babel react-redux webpack in devtools

不打扰是莪最后的温柔 提交于 2019-12-13 03:56:23
问题 In my react-redux application, i have used many libraries especially babel 6.4.1 which i could not upgrade it, webpack 4, polyfill and hundreds of other libraries, anyway; At the lates state i am calling an api in front-end and api returning true result for a method but i have seen extra codes

Now.sh build breaking due to: Support for the experimental syntax 'decorators-legacy' isn't currently enabled

巧了我就是萌 提交于 2019-12-13 03:55:57
问题 Expected: After adding decko (Support for decorators) as well as adding support for experimetalDecoractors in my tsconfig.js and using @babel/plugin-proposal-decorators in package.json . My now.sh build should build and deploy fine after creating a PR, also since the app is running perfectly

How to export global variable from browserify/babelify to be used in project without browserify?

限于喜欢 提交于 2019-12-13 02:27:39
问题 Scenario: I have 2 projects with quite different setup: Regular website, legacy code with simple gulp setup Small pet project. JS slider plugin written with help of ES6 classes (transpiled with babel). JS gulp task: gulp.task('js', function() { return gulp.src('src/scripts/*.js') .pipe($.plumber(