diff --git a/package.json b/package.json index 5056d3caba88..09a564e2f20d 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,10 @@ "dist": "TARGET=dist webpack --mode=production --progress", "dist-spinner": "svgo --config=svgo.js src/icons/spinner.svg --output=dist/spinner.svg", "distlib": "tsc --pretty", - "distlib-css": "copyfiles --verbose src/**/*.css src/*.css src/**/*.scss src/*.scss distlib", "distlib-images": "copyfiles --verbose src/**/*.svg src/*.svg src/**/*.png src/*.png distlib", - "prepare": "npm run dist && npm run dist-spinner && npm run distlib && npm run distlib-css && npm run distlib-images", + "distlib-css": "copyfiles --verbose src/**/*.css src/*.css src/**/*.scss src/*.scss distlib", + "distlib-css-bundle": "cp dist/desktop-*.css distlib/src/controllers/desktop.css && cp dist/mobile-*.css distlib/src/controllers/mobile.css && cp dist/iframe_api-*.css distlib/src/controllers/iframe_api.css", + "prepare": "npm run dist && npm run dist-spinner && npm run distlib && npm run distlib-images && npm run distlib-css && npm run distlib-css-bundle", "typecheck": "tsc --project tsconfig-all.json --noEmit", "doc": "typedoc", "build-storybook": "TARGET=ngeo-examples storybook build --output-dir=.build/storybook",