Skip to content

Commit ec30821

Browse files
committed
imported new bundlers versions by Uri
1 parent a5aca5a commit ec30821

File tree

5 files changed

+30
-17
lines changed

5 files changed

+30
-17
lines changed

.bit.map.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -247,43 +247,43 @@
247247
"mainFile": "src/bundlers/vue/index.js",
248248
"origin": "AUTHORED"
249249
},
250-
"bit.envs/bundlers/[email protected].2": {
250+
"bit.envs/bundlers/[email protected].3": {
251251
"files": [
252252
{
253+
"name": "index.js",
253254
"relativePath": "src/bundlers/webpack/index.js",
254-
"test": false,
255-
"name": "index.js"
255+
"test": false
256256
},
257257
{
258+
"name": "readme.md",
258259
"relativePath": "src/bundlers/webpack/readme.md",
259-
"test": false,
260-
"name": "readme.md"
260+
"test": false
261261
},
262262
{
263+
"name": "webpack.config.js",
263264
"relativePath": "src/bundlers/webpack/webpack.config.js",
264-
"test": false,
265-
"name": "webpack.config.js"
265+
"test": false
266266
}
267267
],
268268
"mainFile": "src/bundlers/webpack/index.js",
269269
"origin": "AUTHORED"
270270
},
271-
"bit.envs/bundlers/[email protected].1": {
271+
"bit.envs/bundlers/[email protected].2": {
272272
"files": [
273273
{
274+
"name": "index.js",
274275
"relativePath": "src/bundlers/webpack-css-modules/index.js",
275-
"test": false,
276-
"name": "index.js"
276+
"test": false
277277
},
278278
{
279+
"name": "readme.md",
279280
"relativePath": "src/bundlers/webpack-css-modules/readme.md",
280-
"test": false,
281-
"name": "readme.md"
281+
"test": false
282282
},
283283
{
284+
"name": "webpack.config.js",
284285
"relativePath": "src/bundlers/webpack-css-modules/webpack.config.js",
285-
"test": false,
286-
"name": "webpack.config.js"
286+
"test": false
287287
}
288288
],
289289
"mainFile": "src/bundlers/webpack-css-modules/index.js",

LICENSE

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright (c) 2017 cocycles 2017
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OROTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USEOR OTHER DEALINGS IN THE SOFTWARE.

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,9 @@
6868
"webpack": "^4.0.1",
6969
"webpack-node-externals": "^1.6.0"
7070
},
71-
"workspaces": []
71+
"workspaces": [
72+
"components/.dependencies/*/*/*/*",
73+
"components/*/*"
74+
],
75+
"private": true
7276
}

src/bundlers/webpack-css-modules/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import webpack from 'webpack';
44
import MemoryFS from 'memory-fs';
55
import configure from './webpack.config';
66

7-
export const compile = (files, distPath, componentObject) => {
7+
export const compile = (files, distPath, context) => {
8+
const componentObject = context.componentObject;
89
const mainFile = files.find(file => file.relative === componentObject.mainFile);
910
const testFiles = files.filter(file => file.test);
1011

src/bundlers/webpack/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import webpack from 'webpack';
44
import MemoryFS from 'memory-fs';
55
import configure from './webpack.config';
66

7-
export const compile = (files, distPath, componentObject) => {
7+
export const compile = (files, distPath, context) => {
8+
const componentObject = context.componentObject;
89
const mainFile = files.find(file => file.relative === componentObject.mainFile);
910
const testFiles = files.filter(file => file.test);
1011

0 commit comments

Comments
 (0)