1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-24 01:03:25 +02:00

test deploy with renderToString

This commit is contained in:
Pomax
2017-03-10 13:21:11 -08:00
parent a3380660b2
commit 05b2bca7e0
15 changed files with 591 additions and 181 deletions

View File

@@ -10,13 +10,12 @@ console.log("Using locale: "+locale);
// Bundle entry point
var entry = ['./components/App.jsx'];
// Bundle target
var target = "web";
// Bundle output
var output = {
path: path.join(__dirname,locale),
filename: 'article.js'
filename: 'article.js',
library: 'BezierArticle',
libraryTarget: 'umd'
};
// Necessary webpack loaders for converting our content:
@@ -49,7 +48,6 @@ if (locale !== defaultLocale) {
// And the final config that webpack will read in.
module.exports = {
entry: entry,
target: target,
output: output,
resolve: resolve,
module: {