From 2af44daa5c7b2640b97b1984723e79b229cb8b28 Mon Sep 17 00:00:00 2001 From: Cyrille Bourgois Date: Thu, 21 Jul 2022 14:11:21 +0200 Subject: [PATCH] fix(cookie-policy): use sources instead of build (#7634) ref: MANAGER-9745 Signed-off-by: Cyrille Bourgois --- .../modules/cookie-policy/package.json | 19 ++----------------- .../modules/cookie-policy/rollup.config.js | 7 ------- 2 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 packages/manager/modules/cookie-policy/rollup.config.js diff --git a/packages/manager/modules/cookie-policy/package.json b/packages/manager/modules/cookie-policy/package.json index 82dcbd4369c8..d51421b0d29d 100644 --- a/packages/manager/modules/cookie-policy/package.json +++ b/packages/manager/modules/cookie-policy/package.json @@ -19,22 +19,7 @@ "directory": "packages/manager/modules/cookie-policy" }, "license": "BSD-3-Clause", - "main": "./dist/esm/index.js", - "files": [ - "dist" - ], - "scripts": { - "build": "rollup -c --environment BUILD:production", - "dev": "rollup -c --environment BUILD:development", - "dev:watch": "yarn run dev --watch", - "prepare": "yarn run build", - "start": "lerna exec --stream --scope='@ovh-ux/manager-cookie-policy' --include-dependencies -- yarn run build", - "start:dev": "lerna exec --stream --scope='@ovh-ux/manager-cookie-policy' --include-dependencies -- yarn run dev", - "start:watch": "lerna exec --stream --parallel --scope='@ovh-ux/manager-cookie-policy' --include-dependencies -- yarn run dev:watch" - }, - "devDependencies": { - "@ovh-ux/component-rollup-config": "^11.0.0 || ^12.0.0" - }, + "main": "./src/index.js", "peerDependencies": { "@ovh-ux/manager-config": "^5.0.1", "@ovh-ux/manager-core": "^11.0.0 || ^12.0.0", @@ -44,4 +29,4 @@ "angular-translate": "^2.18.1", "angular-ui-bootstrap": "1.3.3" } -} \ No newline at end of file +} diff --git a/packages/manager/modules/cookie-policy/rollup.config.js b/packages/manager/modules/cookie-policy/rollup.config.js deleted file mode 100644 index dba7f6cc2fd6..000000000000 --- a/packages/manager/modules/cookie-policy/rollup.config.js +++ /dev/null @@ -1,7 +0,0 @@ -import rollupConfig from '@ovh-ux/component-rollup-config'; - -const config = rollupConfig({ - input: 'src/index.js', -}); - -export default [config.es()];