- 16 10月, 2017 1 次提交
-
-
由 Tim Neutkens 提交于
* Make styled-jsx configurable * Add styled-jsx-plugin-postcss example * Add styled-jsx 2.1.0 with plugins support * Move examples around and add description * Add link to new example
-
- 07 10月, 2017 1 次提交
-
-
由 Tom MacWright 提交于
* Configurable opts for babel-preset-env + babel-plugin-transform-runtime This adds `preset-env` and `transform-runtime` options to the `next/babel` Babel preset, which are then passed through to those presets and transforms. This allows configuration to keep next.js from the default 'maximum' transform, and instead use built-in implementations of globals, classes, async, and other commonly-supported features. Fixes #2989 * Use spread notation instead of Object.assign
-
- 06 5月, 2017 1 次提交
-
-
由 Arunoda Susiripala 提交于
Otherwise, user has to expose it's env variable as development. Usually, that's unlikely to happen.
-
- 18 4月, 2017 2 次提交
-
-
由 Arunoda Susiripala 提交于
Here we don't use the full capabilities of babel-preset-env. But it's recommended to use it without browser configs as a substitute for babel-preset-latest. That's why we did this.
-
由 Arunoda Susiripala 提交于
-
- 17 4月, 2017 1 次提交
-
-
由 Arunoda Susiripala 提交于
-
- 16 2月, 2017 1 次提交
-
-
由 Fin Hopkins 提交于
Without this, modules built with Babel or Webpack would have hard-coded absolute paths all the way back to the root of the filesystem. This prevented compilation and running on different machines or even from different directories on the same machine. With this change, paths are hard-coded to the top-most node_madules directory found, which should make them portable relative to the app. Fixes #1160
-
- 14 2月, 2017 2 次提交
-
-
由 Arunoda Susiripala 提交于
* Remove babell-plugin-transform-react-constant-elements. With this, our shared-modules example's counter won't work in production mode. (as this plugin enabled) So, we could see more issues like this. That's why we don't need this at this time. * Update package.json.
-
由 Tim Neutkens 提交于
-
- 11 2月, 2017 2 次提交
-
-
由 Tim Neutkens 提交于
* Optimize React * Remove unused preset * Remove pure-class-to-function
-
由 Tim Neutkens 提交于
* Optimize React * Remove unused preset
-
- 09 2月, 2017 1 次提交
-
-
由 Naoyuki Kanezawa 提交于
-
- 08 2月, 2017 2 次提交
-
-
由 Arunoda Susiripala 提交于
* Add babel-preset-2016 support. This adds the support for Exponentiation operator (**) * Use babel-preset-latest. * Remove babel-plugin-transform-async-to-generator in favor of babel-plugin-latest It has es2017 preset and it comes with the above plugin.
-
由 Lukas Strassel 提交于
- tackles #997 - add ./idea to gitignore for webstorm users - update all the examples
-
- 02 2月, 2017 1 次提交
-
-
由 Arunoda Susiripala 提交于
-
- 31 1月, 2017 1 次提交
-
-
由 Arunoda Susiripala 提交于
* Let webpack2 to handle ES2015 module system Since Node.js can't do that, we need to transpile ES2015 module system in the emit-file-loader. * Use sourceMaps only in dev. * Introduce a transform option to emit-file-loader So, we can move our ES2015 transpile code with that option. * Remove unwanted argument options. * Update comments. * Use dev flag instead of NODE_ENV
-
- 12 1月, 2017 2 次提交
-
-
由 nkzawa 提交于
-
由 Arunoda Susiripala 提交于
* Remove default next pages compilation from the main babel-loader. This will fix the issue when the user ignore node_modules via our .babelrc option. * Change babel-loaders 'query' to 'options'. That's what's supported/recommended in webpack 2
-
- 08 1月, 2017 1 次提交
-
-
由 Naoyuki Kanezawa 提交于
-
- 22 12月, 2016 1 次提交
-
-
由 Arunoda Susiripala 提交于
-
- 21 12月, 2016 1 次提交
-
-
由 Arunoda Susiripala 提交于
* Create a babel-preset for plugins and presets we use. Anyone could get it via 'next/babel' * Remove 'use strict' from the source. * Add next/router to alias resolver in our babel preset.
-