Skip to content

Commit

Permalink
feat: remove UI from production bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasthiebaud committed Jul 5, 2018
1 parent 98ee2f5 commit 403c41c
Show file tree
Hide file tree
Showing 12 changed files with 3,277 additions and 2,714 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ jspm_packages
temp
dist
types
lib
2 changes: 1 addition & 1 deletion config/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
loader: 'ts-loader'
}],
exclude: [/\.e2e\.ts$/]
}, {
}, {
test: /\.css$/,
use: [{
loader: 'css-to-string-loader'
Expand Down
8 changes: 1 addition & 7 deletions config/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
devtool: 'cheap-source-map',
mode: 'production',
entry: {
skift: './src/index.ts'
skift: './lib/index.js'
},
output: {
path: path.resolve(__dirname, '../dist'),
Expand All @@ -21,12 +21,6 @@ module.exports = {
},
module: {
rules: [{
test: /\.ts$/,
use: [{
loader: 'ts-loader'
}],
exclude: [/\.e2e\.ts$/]
}, {
test: /\.css$/,
use: [{
loader: 'css-to-string-loader'
Expand Down
File renamed without changes
File renamed without changes
Loading

0 comments on commit 403c41c

Please sign in to comment.