diff --git a/tools/gulp/tasks/material-release.ts b/tools/gulp/tasks/material-release.ts index 693e2a9934f..37fcdda63cc 100644 --- a/tools/gulp/tasks/material-release.ts +++ b/tools/gulp/tasks/material-release.ts @@ -2,7 +2,7 @@ import {task, src, dest} from 'gulp'; import {join} from 'path'; import {writeFileSync} from 'fs'; import {Bundler} from 'scss-bundle'; -import {execNodeTask, sequenceTask} from '../util/task_helpers'; +import {sequenceTask} from '../util/task_helpers'; import {composeRelease} from '../util/package-build'; import {COMPONENTS_DIR, DIST_MATERIAL, DIST_RELEASES} from '../constants'; @@ -16,7 +16,7 @@ const themingEntryPointPath = join(COMPONENTS_DIR, 'core', 'theming', '_all-them // Output path for the scss theming bundle. const themingBundlePath = join(releasePath, '_theming.scss'); // Matches all pre-built theme css files -const prebuiltThemeGlob = join(DIST_MATERIAL, '**/theming/prebuilt/*.css'); +const prebuiltThemeGlob = join(DIST_MATERIAL, '**/theming/prebuilt/*.css?(.map)'); // Matches all SCSS files in the library. const allScssGlob = join(COMPONENTS_DIR, '**/*.scss'); diff --git a/tools/gulp/util/package-build.ts b/tools/gulp/util/package-build.ts index 24804897eb9..e7693b6a792 100644 --- a/tools/gulp/util/package-build.ts +++ b/tools/gulp/util/package-build.ts @@ -1,4 +1,4 @@ -import {join, basename, dirname} from 'path'; +import {join, basename} from 'path'; import {createRollupBundle} from './rollup-helper'; import {inlineMetadataResources} from './inline-resources'; import {transpileFile} from './ts-compiler';