From 98000767debd37b75f3181f6ad3a3424dff23408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leroy=20S=C3=A9bastien?= Date: Tue, 26 Apr 2016 15:10:26 +0200 Subject: [PATCH] Fixlib (#5) * fix(test): Naming of lib file Fixed naming for test to execute correctly * fix(umd): Corrected build for UMB library generation --- package.json | 2 +- webpack.config.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c8f18b2..61ca00b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "sdmxmllib", "description": "Javascript library for converting SDMX-ML structure messages", "version": "0.0.0-semantically-released", - "main": "lib/sdmxmllib.js", + "main": "./lib/sdmxmllib.js", "scripts": { "clean": "rm -rf lib/", "prebuild": "npm run clean", diff --git a/webpack.config.js b/webpack.config.js index 83321b0..315b80a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -22,6 +22,8 @@ const common = { output: { path: './lib', filename: '[name].js', + library: "sdmxmllib", + libraryTarget: "umd" }, resolve: {