-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg: Use sass instead of node-sass fix: Make devserver static asset serving consistent BREAKING CHANGE: Dev mode static assets /assets/${buildDir} -> /${buildDir} (By default this means /assets/dist/ -> /dist/) pkg: html plugin fixes compat issue fix: sass-loader filecache compat pkg: Bump style-only-imports fix: polyfill node builtins for web target fix: More comprehensive node polyfill pkg: Maintain 4 compatibilitly
- Loading branch information
Showing
12 changed files
with
2,101 additions
and
1,294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// extracted from https://github.com/webpack/node-libs-browser/blob/master/index.js | ||
export const NODE_ALIAS = { | ||
stream: require.resolve('stream-browserify'), | ||
path: require.resolve('path-browserify'), | ||
crypto: require.resolve('crypto-browserify'), | ||
buffer: require.resolve('buffer'), | ||
vm: require.resolve('vm-browserify'), | ||
assert: require.resolve('assert/'), | ||
console: require.resolve('console-browserify'), | ||
constants: require.resolve('constants-browserify'), | ||
domain: require.resolve('domain-browser'), | ||
events: require.resolve('events/'), | ||
http: require.resolve('stream-http'), | ||
https: require.resolve('https-browserify'), | ||
os: require.resolve('os-browserify/browser.js'), | ||
punycode: require.resolve('punycode/'), | ||
process: require.resolve('process/browser.js'), | ||
querystring: require.resolve('querystring-es3/'), | ||
_stream_duplex: require.resolve('readable-stream/duplex.js'), | ||
_stream_passthrough: require.resolve('readable-stream/passthrough.js'), | ||
_stream_readable: require.resolve('readable-stream/readable.js'), | ||
_stream_transform: require.resolve('readable-stream/transform.js'), | ||
_stream_writable: require.resolve('readable-stream/writable.js'), | ||
string_decoder: require.resolve('string_decoder/'), | ||
sys: require.resolve('util/util.js'), | ||
timers: require.resolve('timers-browserify'), | ||
tty: require.resolve('tty-browserify'), | ||
url: require.resolve('url/'), | ||
util: require.resolve('util/util.js'), | ||
zlib: require.resolve('browserify-zlib'), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.