@phila/layerboard 2.1.0 → 3.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +0,0 @@
1
- // http://stackoverflow.com/a/37164538/676001
2
-
3
- // helper to verify that an item is an object
4
- export function isObject(item) {
5
- return (item && typeof item === 'object' && !Array.isArray(item) && item !== null);
6
- }
7
-
8
- // merges n objects, deeply, immutably
9
- export default function mergeDeep(target, source) {
10
- let output = Object.assign({}, target);
11
- if (isObject(target) && isObject(source)) {
12
- Object.keys(source).forEach(key => {
13
- if (isObject(source[key])) {
14
- if (!(key in target)) {
15
- Object.assign(output, { [key]: source[key] });
16
- } else {
17
- output[key] = mergeDeep(target[key], source[key]);
18
- }
19
- } else {
20
- Object.assign(output, { [key]: source[key] });
21
- }
22
- });
23
- }
24
- return output;
25
- }
package/vue.config.js DELETED
@@ -1,15 +0,0 @@
1
- const Visualizer = require('webpack-visualizer-plugin');
2
- const webpack = require('webpack');
3
- const path = require('path');
4
-
5
- module.exports = {
6
- configureWebpack: {
7
- plugins: [
8
- new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en/),
9
- new Visualizer({ filename: './statistics.html' }),
10
- ],
11
- },
12
- chainWebpack: (config) => {
13
- config.plugins.delete('prefetch');
14
- },
15
- };