Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonreinke committed Mar 18, 2019
1 parent 5c5c8e3 commit c116053
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 233 deletions.
12 changes: 9 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function exportGrunt(grunt) {
options: {
output: {
path: path.resolve(__dirname, 'dist'),
library: 'brandlabs-ui',
library: 'UI',
libraryTarget: 'umd',
},
module: {
Expand All @@ -23,6 +23,7 @@ module.exports = function exportGrunt(grunt) {
},
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
},
{
Expand All @@ -35,13 +36,18 @@ module.exports = function exportGrunt(grunt) {
},
],
},
resolve: {
alias: {
'bigcommerce-custom-fields-hierarchy': path.resolve(__dirname, 'node_modules/bigcommerce-custom-fields-hierarchy/dist/custom-fields-hierarchy.min.js')
}
},
},
development: {
entry: [
'./index.js',
],
output: {
filename: 'brandlabs-ui.js',
filename: 'ui.js',
},
plugins: [
new VueLoaderPlugin(),
Expand All @@ -52,7 +58,7 @@ module.exports = function exportGrunt(grunt) {
'./index.js',
],
output: {
filename: 'brandlabs-ui.min.js',
filename: 'ui.min.js',
},
plugins: [
new CleanWebpackPlugin(['dist']),
Expand Down
1 change: 0 additions & 1 deletion dist/brandlabs-ui.min.js

This file was deleted.

Loading

0 comments on commit c116053

Please sign in to comment.