├── .idea
├── .name
├── vcs.xml
├── modules.xml
├── debugging-webpack.iml
├── runConfigurations
│ └── index_html.xml
└── misc.xml
├── greeting.js
├── webpack.config.js
├── main.js
└── index.html
/.idea/.name:
--------------------------------------------------------------------------------
1 | debugging-webpack
--------------------------------------------------------------------------------
/greeting.js:
--------------------------------------------------------------------------------
1 | function addGreeting (a) {
2 | a.innerHTML = "Welcome to WebStorm";
3 | }
4 |
5 | module.exports = addGreeting;
--------------------------------------------------------------------------------
/webpack.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | entry: "./main.js",
3 | output: {
4 | path: __dirname + "/build",
5 | filename: "bundle.js"
6 | },
7 | devtool: "source-map"
8 | };
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |