Permalink
Browse files

move lib back to src

  • Loading branch information...
1 parent fa76907 commit c4e024d8642233d8e61e3c0e528f5c61533fa297 @ndrwhr ndrwhr committed Aug 21, 2016
View
@@ -1,4 +1,4 @@
-dist/
+lib/
demo/dist/
node_modules/
.DS_Store
@@ -15,7 +15,7 @@ const BASE_CONFIG = {
}, {
test: /\.js$/,
include: [
- path.resolve(__dirname, '../lib'),
+ path.resolve(__dirname, '../src'),
path.resolve(__dirname, '../demo/src'),
],
loader: 'babel-loader',
@@ -32,7 +32,7 @@ const BASE_CONFIG = {
module.exports = [Object.assign({}, BASE_CONFIG, {
// Output a browser version of the library in the demo dist folder.
entry: [
- path.resolve(__dirname, '../lib/index.js'),
+ path.resolve(__dirname, '../src/index.js'),
],
output: {
path: path.join(__dirname, '../demo/dist'),
View
@@ -3,7 +3,7 @@ const webpack = require('webpack');
module.exports = [{
entry: [
- './lib/index.js',
+ path.resolve(__dirname, '../src/index.js'),
],
plugins: [
new webpack.optimize.OccurenceOrderPlugin(),
@@ -18,7 +18,7 @@ module.exports = [{
}, {
test: /\.js$/,
include: [
- path.resolve(__dirname, '../lib'),
+ path.resolve(__dirname, '../src'),
],
loader: 'babel-loader',
query: {
@@ -30,7 +30,7 @@ module.exports = [{
extensions: ['', '.js'],
},
output: {
- path: path.join(__dirname, '../dist'),
+ path: path.join(__dirname, '../lib'),
filename: 'common.js',
libraryTarget: 'commonjs2',
},
File renamed without changes.
File renamed without changes.

0 comments on commit c4e024d

Please sign in to comment.