Repository navigation
Adding Named Modules, VS Code, Fixes #911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
c3c5ec2
Add support for webpack-dashboard and NamedModulePlugin
katallaxie 3143c17
Fixing TravisCI with npm >= 3
katallaxie 3dd655b
Adding .vscode for Chrome Debugger
katallaxie 753940b
ESLint for all config/**/*.js
katallaxie b7002a3
~ updating deps in dev
katallaxie 8bd4ab4
~ fixing eslint and tslint
katallaxie b834656
~ updating TSLint to @next
katallaxie c16aa91
~ removing conflicting @types/core-js definitions
katallaxie e2552b8
fix: Update webpack.prod.js (#920)
0cv f083350
chore(package): update es6-promise-loader to version 1.0.2 (#893)
greenkeeperio-bot c86da57
chore: remove es6-promise-loader for System.import
PatrickJS 50ac837
chore(package): move angular2-template-loader to devDependencies (#909)
zhenwenc 7bbadf1
chore(package): update tslint to version 3.15.1 (#883)
greenkeeperio-bot 2784280
~ remove eslint and webpack-dashboard
katallaxie 52badce
~ reverting minor failure
katallaxie 65e04a5
Add support for webpack-dashboard and NamedModulePlugin
katallaxie 63b2419
Fixing TravisCI with npm >= 3
katallaxie ee24dc2
Adding .vscode for Chrome Debugger
katallaxie f1bc961
ESLint for all config/**/*.js
katallaxie 68dd7f8
~ updating deps in dev
katallaxie 54ef7d8
~ fixing eslint and tslint
katallaxie b9fe37c
~ updating TSLint to @next
katallaxie 746d2e9
~ removing conflicting @types/core-js definitions
katallaxie ca68779
~ remove eslint and webpack-dashboard
katallaxie a67d786
~ reverting minor failure
katallaxie c960837
~ updating webpack.prod.js
katallaxie e3fb441
~ updating webpack.prod.js
katallaxie ba327d7
Merge remote-tracking branch 'origin/master'
katallaxie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,22 @@ | ||
| { | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "name": "Launch Chrome against localhost, with sourcemaps", | ||
| "type": "chrome", | ||
| "request": "launch", | ||
| "url": "http://localhost:3000", | ||
| "sourceMaps": true, | ||
| "webRoot": "${workspaceRoot}" | ||
| }, | ||
| { | ||
| "name": "Attach to Chrome, with sourcemaps", | ||
| "type": "chrome", | ||
| "request": "attach", | ||
| "url": "http://localhost:3000", | ||
| "port": 9222, | ||
| "sourceMaps": true, | ||
| "webRoot": "${workspaceRoot}" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or 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,3 @@ | ||
| { | ||
| "typescript.tsdk": "node_modules/typescript/lib/" | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| exports.HmrState = function() { | ||
|
|
||
| } | ||
| }; |
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ const commonConfig = require('./webpack.common.js'); // the settings that are co | |
| * Webpack Plugins | ||
| */ | ||
| const DefinePlugin = require('webpack/lib/DefinePlugin'); | ||
| const NamedModulesPlugin = require('webpack/lib/NamedModulesPlugin'); | ||
|
|
||
| /** | ||
| * Webpack Constants | ||
|
|
@@ -116,6 +117,15 @@ module.exports = webpackMerge(commonConfig, { | |
| 'HMR': METADATA.HMR, | ||
| } | ||
| }), | ||
|
|
||
| /** | ||
| * Plugin: NamedModulesPlugin (experimental) | ||
| * Description: Uses file names as module name. | ||
| * | ||
| * See: https://github.com/webpack/webpack/commit/a04ffb928365b19feb75087c63f13cadfc08e1eb | ||
| */ | ||
| new NamedModulesPlugin(), | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice! |
||
|
|
||
| ], | ||
|
|
||
| /** | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -17,7 +17,6 @@ | |
| "es6" | ||
| ], | ||
| "types": [ | ||
| "core-js", | ||
| "hammerjs", | ||
| "jasmine", | ||
| "node", | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch