Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
include: config.paths.demo
},
{
test: /\.jpg$/,
loader: 'file',
include: config.paths.demo
},
{
test: /\.json$/,
loader: 'json'
}
]
}
})
var merge_build = merge.bind(null,
{
devtool: 'source-map',
output:
{
path: config.paths.dist,
libraryTarget: 'umd',
library: config.library
},
entry: config.paths.src,
externals:
{
//// if you are not testing, just react will do
//react: 'react',
// 'react/addons': 'react/addons'
},
module:
include: config.paths.demo
},
{
test: /\.jpg$/,
loader: 'file',
include: config.paths.demo
},
{
test: /\.json$/,
loader: 'json'
}
]
}
})
var merge_build = merge.bind(null,
{
devtool: 'source-map',
output:
{
path: config.paths.dist,
libraryTarget: 'umd',
library: config.library
},
entry: config.paths.src,
externals:
{
//// if you are not testing, just react will do
//react: 'react',
// 'react/addons': 'react/addons'
},
module:
include: config.paths.demo
},
{
test: /\.jpg$/,
loader: 'file',
include: config.paths.demo
},
{
test: /\.json$/,
loader: 'json'
}
]
}
})
var merge_build = merge.bind(null,
{
devtool: 'source-map',
output:
{
path: config.paths.dist,
libraryTarget: 'umd',
library: config.library
},
entry: config.paths.src,
externals:
{
//// if you are not testing, just react will do
//react: 'react',
// 'react/addons': 'react/addons'
},
module:
var babel = 'babel'
var config =
{
paths:
{
dist: path.join(Root_folder, 'build'),
src: path.join(Root_folder, 'source'),
demo: path.join(Root_folder, Demo_folder),
demoIndex: path.join(Root_folder, Demo_folder, '/index')
},
filename: 'react-isomorphic-render',
library: 'react-isomorphic-render'
}
var merge_demo = merge.bind(null,
{
resolve:
{
extensions: ['', '.js', '.jsx', '.md', '.css', '.png', '.jpg']
},
module:
{
loaders:
[
{
test: /\.css$/,
loaders: ['style', 'css']
},
{
test: /\.md$/,
loaders: ['html', 'highlight', 'markdown']
var HtmlPlugin = require('webpack-html-plugin');
var merge = require('webpack-merge');
var HasteResolverPlugin = require('haste-resolver-webpack-plugin');
var NODE_ENV = process.env.NODE_ENV;
var ROOT_PATH = path.resolve(__dirname);
var DEMO_DIR = 'Examples';
var config = {
paths: {
src: path.join(ROOT_PATH, 'Libraries'),
demo: path.join(ROOT_PATH, DEMO_DIR),
demoIndex: path.join(ROOT_PATH, DEMO_DIR, '/UIExplorer/UIExplorerApp.web'),
}
};
var mergeCommon = merge.bind(null, {
resolve: {
alias: {
'react-native': 'ReactWeb',
'ReactART': 'react-art'
},
extensions: ['', '.js', '.jsx', '.md', '.css', '.png', '.jpg'],
},
module: {
loaders: [{
test: /\.png$/,
loader: 'url?limit=100000&mimetype=image/png',
include: config.paths.demo,
}, {
test: /\.jpg$/,
loader: 'file',
include: config.paths.demo,
var babel = 'babel'
var config =
{
paths:
{
dist: path.join(Root_folder, 'build'),
src: path.join(Root_folder, 'source'),
demo: path.join(Root_folder, Demo_folder),
demoIndex: path.join(Root_folder, Demo_folder, '/index')
},
filename: 'webpack-isomorphic-tools',
library: 'webpack-isomorphic-tools'
}
var merge_demo = merge.bind(null,
{
resolve:
{
extensions: ['', '.js', '.jsx', '.md', '.css', '.png', '.jpg']
},
module:
{
loaders:
[
{
test: /\.css$/,
loaders: ['style', 'css']
},
{
test: /\.md$/,
loaders: ['html', 'highlight', 'markdown']
var babel = 'babel'
var config =
{
paths:
{
dist: path.join(Root_folder, 'build'),
src: path.join(Root_folder, 'source'),
demo: path.join(Root_folder, Demo_folder),
demoIndex: path.join(Root_folder, Demo_folder, '/index')
},
filename: 'react-styling',
library: 'react-styling'
}
var merge_demo = merge.bind(null,
{
resolve:
{
extensions: ['', '.js', '.jsx', '.md', '.css', '.png', '.jpg']
},
module:
{
loaders:
[
{
test: /\.css$/,
loaders: ['style', 'css']
},
{
test: /\.md$/,
loaders: ['html', 'highlight', 'markdown']