@influxdata/giraffe
Advanced tools
Comparing version 0.42.2 to 0.42.4
{ | ||
"name": "@influxdata/giraffe", | ||
"version": "0.42.2", | ||
"version": "0.42.4", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "src/index.js", |
@@ -1,3 +0,3 @@ | ||
var path = require('path'); | ||
var webpack = require('webpack'); | ||
const path = require('path') | ||
const webpack = require('webpack') | ||
const pkg = require('./package.json') | ||
@@ -11,3 +11,3 @@ | ||
libraryTarget: 'umd', | ||
library: pkg.name, | ||
library: 'Giraffe', | ||
path: path.resolve(__dirname, 'dist'), | ||
@@ -18,3 +18,8 @@ publicPath: '', | ||
externals: { | ||
react: 'react', | ||
react: { | ||
amd: 'react', | ||
commonjs: 'react', | ||
commonjs2: 'react', | ||
root: 'React', | ||
}, | ||
'react-dom': 'react-dom', | ||
@@ -35,10 +40,7 @@ // lodash: 'lodash' TODO: should we externalize lodash?, | ||
loader: 'awesome-typescript-loader', | ||
exclude: /node_modules/ | ||
exclude: /node_modules/, | ||
}, | ||
{ | ||
test: /\.s?css$/i, | ||
use: [ | ||
'css-loader', | ||
'sass-loader' | ||
], | ||
use: ['css-loader', 'sass-loader'], | ||
}, | ||
@@ -67,4 +69,4 @@ { | ||
}, | ||
] | ||
], | ||
}, | ||
}; | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30412
8559139