diff --git a/packages/components-table/.gitignore b/packages/components-table/.gitignore index c9ff8786e7..28d60539b8 100644 --- a/packages/components-table/.gitignore +++ b/packages/components-table/.gitignore @@ -1,2 +1,3 @@ /docs /dist +/css diff --git a/packages/components-table/package.json b/packages/components-table/package.json index 73df070efb..86204d5981 100644 --- a/packages/components-table/package.json +++ b/packages/components-table/package.json @@ -30,11 +30,17 @@ "main": "./dist/index.js", "module": "./dist/index.esm.js", "types": "./dist/types/index.d.ts", - "styles": "./dist/design-system-table.css", + "styles": "./css/design-system-table.css", "files": [ "dist/", + "css/", "scss/" ], + "directories": { + "dist": "dist", + "css": "css", + "scss": "scss" + }, "license": "Apache-2.0", "devDependencies": { "@baloise/design-system-components": "^1.11.1", diff --git a/packages/components-table/rollup.config.js b/packages/components-table/rollup.config.js index 32f1229010..fffd29d787 100644 --- a/packages/components-table/rollup.config.js +++ b/packages/components-table/rollup.config.js @@ -29,7 +29,7 @@ export default { scss({ processor: () => postcss([autoprefixer()]), outputStyle: 'compressed', - output: 'dist/design-system-table.css', + output: 'css/design-system-table.css', }), ], } diff --git a/packages/components-table/scss/index.scss b/packages/components-table/scss/design-system-table.scss similarity index 100% rename from packages/components-table/scss/index.scss rename to packages/components-table/scss/design-system-table.scss diff --git a/packages/components-table/src/index.ts b/packages/components-table/src/index.ts index b3ceac6583..e072c7ab4f 100644 --- a/packages/components-table/src/index.ts +++ b/packages/components-table/src/index.ts @@ -1,4 +1,4 @@ -import '../scss/index.scss' +import '../scss/design-system-table.scss' export * from './bal-table-button-renderer' export * from './bal-table-tag-renderer'