From 13e3d5eb731e795a6b0b5bfb8c2fe76ade540657 Mon Sep 17 00:00:00 2001 From: Synox Date: Wed, 14 Sep 2016 17:19:18 +0200 Subject: [PATCH] rename --- src/{app.js => index.js} | 2 +- webpack.config.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/{app.js => index.js} (99%) diff --git a/src/app.js b/src/index.js similarity index 99% rename from src/app.js rename to src/index.js index 7f02aff..9946413 100644 --- a/src/app.js +++ b/src/index.js @@ -108,7 +108,7 @@ angular.module('app', [ address="$ctrl.address" state="$ctrl.state"> - `, + `, controller: AppController }); diff --git a/webpack.config.js b/webpack.config.js index c2fecca..8e0af88 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,7 +10,7 @@ var TARGET = process.env.npm_lifecycle_event; const commonConfig = { context: path.resolve(__dirname, 'src'), entry: [ - './app.js' + './index.js' ], output: { path: path.join(__dirname, 'dist'), @@ -110,7 +110,7 @@ switch (TARGET) { config.entry = [ 'webpack-dev-server/client?http://localhost:3000', 'webpack/hot/only-dev-server', - './app.js' + './index.js' ]; }