"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/angular_devkit/build_angular/src/webpack/configs/styles.ts" between
angular-cli-12.0.3.tar.gz and angular-cli-12.0.4.tar.gz

About: Angular CLI is a command line interface for Angular.

styles.ts  (angular-cli-12.0.3):styles.ts  (angular-cli-12.0.4)
skipping to change at line 111 skipping to change at line 111
extraPlugins.push(new RemoveHashPlugin({ chunkNames: noInjectNames, hashForm at })); extraPlugins.push(new RemoveHashPlugin({ chunkNames: noInjectNames, hashForm at }));
} }
if (globalStylePaths.some((p) => p.endsWith('.styl'))) { if (globalStylePaths.some((p) => p.endsWith('.styl'))) {
wco.logger.warn( wco.logger.warn(
'Stylus usage is deprecated and will be removed in a future major version. ' + 'Stylus usage is deprecated and will be removed in a future major version. ' +
'To opt-out of the deprecated behaviour, please migrate to another style sheet language.', 'To opt-out of the deprecated behaviour, please migrate to another style sheet language.',
); );
} }
let sassImplementation: {} | undefined; let sassImplementation: SassWorkerImplementation | undefined;
try { try {
sassImplementation = require('node-sass'); sassImplementation = require('node-sass');
wco.logger.warn( wco.logger.warn(
`'node-sass' usage is deprecated and will be removed in a future major ver sion. ` + `'node-sass' usage is deprecated and will be removed in a future major ver sion. ` +
`To opt-out of the deprecated behaviour and start using 'sass' uninstall 'node-sass'.`, `To opt-out of the deprecated behaviour and start using 'sass' uninstall 'node-sass'.`,
); );
} catch { } catch {
sassImplementation = new SassWorkerImplementation(); sassImplementation = new SassWorkerImplementation();
extraPlugins.push({
apply(compiler) {
compiler.hooks.shutdown.tap('sass-worker', () => {
sassImplementation?.close();
});
},
});
} }
const assetNameTemplate = assetNameTemplateFactory(hashFormat); const assetNameTemplate = assetNameTemplateFactory(hashFormat);
const extraPostcssPlugins: import('postcss').Plugin[] = []; const extraPostcssPlugins: import('postcss').Plugin[] = [];
// Attempt to setup Tailwind CSS // Attempt to setup Tailwind CSS
// A configuration file can exist in the project or workspace root // A configuration file can exist in the project or workspace root
const tailwindConfigFile = 'tailwind.config.js'; const tailwindConfigFile = 'tailwind.config.js';
let tailwindConfigPath; let tailwindConfigPath;
 End of changes. 2 change blocks. 
1 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)