1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/server/build
Fin Hopkins 8a5250985f Changes hard-coded module aliases to be relative (#1164)
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
2017-02-16 07:37:29 +05:30
..
babel Changes hard-coded module aliases to be relative (#1164) 2017-02-16 07:37:29 +05:30
loaders Fix .json import issue (#944) 2017-02-01 15:17:15 +09:00
plugins example: fix style 2017-01-15 00:30:39 +09:00
clean.js build on tmp dir (#1150) 2017-02-15 10:03:33 -03:00
index.js Completely delete the build dir. (#1158) 2017-02-15 17:31:21 +01:00
replace.js build on tmp dir (#1150) 2017-02-15 10:03:33 -03:00
root-module-relative-path.js Changes hard-coded module aliases to be relative (#1164) 2017-02-16 07:37:29 +05:30
webpack.js Changes hard-coded module aliases to be relative (#1164) 2017-02-16 07:37:29 +05:30