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AAoB,WAC5B,OAAO,KACJ,IAAI,IAAI,kBACR,KAAK,KAAK,KAAK,IAAI,OAAO,KAAK,MACpC","file":"/npm/@superflycss/task-deploy@2.1.2/src/main/js/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@superflycss/task-deploy@2.1.2/src/main/js/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","//==================================================\n//  For the description see\n//  [SupeflyCSS Test Task](https://github.com/superflycss/task-deploy/)\n//==================================================\n//  Tasks\n//  ---------------------------------------------------\n//  deploy:main:css\n//  Deploys main css only\n//  ---------------------------------------------------\n//  deploy:test:css\n//  Deploys test css only\n//  ---------------------------------------------------\n//  deploy:main:html\n//  ---------------------------------------------------\n//  Deploys main html only\n//  Deploys test html only\n//  ---------------------------------------------------\n//  IMPLEMENTATION\n//  ---------------------------------------------------\n//  deploy:main:css and deploy:test:css\n//  ---------------------------------------------------\n//  These tasks rerun all the plugins in configured in\n//  superflycss/task-build task.  The reason is that\n//  font magician  has to be run after uncss is run.\n//  That way only fonts  that are used will have a\n//  corresponding @font-face declaration generated.\n//\n//  Also note that uncss is run against the target Directory\n//  containing the built html files.  This is important.  The\n//  src directory contains unbuilt html files and these will\n//  not have all the css classes rendered, which would result in\n//  uncss not seeing them.\n//\n//  ---------------------------------------------------\n//  deploy:main:html and deploy:test:html\n//  ---------------------------------------------------\n//==================================================\n\nvar gulp = require('gulp');\nvar pc = require('gulp-postcss');\nvar pc_import = require('postcss-import');\nvar pc_calc = require('postcss-calc');\nvar pc_custom_properties = require('postcss-custom-properties');\nvar pc_color_function = require('postcss-color-function');\nvar pc_sass_color_functions = require(\"postcss-sass-color-functions\");\nvar pc_each = require('postcss-each');\nvar pc_for = require('postcss-for');\nvar pc_apply = require('postcss-apply');\nvar pc_reporter = require('postcss-reporter');\nvar pc_custom_media = require('postcss-custom-media');\nvar pc_font_magician = require('postcss-font-magician');\nvar pc_uncss = require('postcss-uncss');\n\nvar cleancss = require('gulp-clean-css');\nvar autoprefixer = require('autoprefixer');\n\nvar PLI = require('@superflycss/pli');\n\nvar uncss_main_processors = [pc_import, pc_each, pc_for, pc_custom_properties, pc_apply, pc_calc, pc_color_function, pc_sass_color_functions, pc_custom_media, pc_font_magician, autoprefixer, pc_uncss({html: [PLI.TARGET_MAIN_HTML]}), pc_reporter({\n  clearMessages: true\n})];\n\nvar uncss_test_processors = [pc_import, pc_each, pc_for, pc_custom_properties, pc_apply, pc_calc, pc_color_function, pc_sass_color_functions, pc_custom_media, pc_font_magician, autoprefixer, pc_uncss({html: [PLI.TARGET_TEST_HTML]}), pc_reporter({\n  clearMessages: true\n})];\n\n/*\n * IMPLEMENTATION\n * ================================================\n * Note that CSS is rebuilt from scratch since\n * UNCSS has to be run before font magician\n * ================================================\n */\ngulp.task('deploy:main:css', function() {\n  return gulp.src(PLI.SRC_MAIN_CSS)\n    .pipe(pc(uncss_main_processors))\n    .pipe(cleancss({\n      compatibility: 'ie8'\n    }))\n    .pipe(gulp.dest(PLI.deploy.main.css));\n});\n\ngulp.task('deploy:test:css', function() {\n  return gulp.src(PLI.SRC_TEST_CSS)\n    .pipe(pc(uncss_test_processors))\n    .pipe(cleancss({\n      compatibility: 'ie8'\n    }))\n    .pipe(gulp.dest(PLI.deploy.test.css));\n});\n\ngulp.task('deploy:main:html', function() {\n  return gulp\n    .src(PLI.TARGET_MAIN_HTML)\n    .pipe(gulp.dest(PLI.deploy.main.html));\n});\n\ngulp.task('deploy:test:html', function() {\n  return gulp\n    .src(PLI.TARGET_TEST_HTML)\n    .pipe(gulp.dest(PLI.deploy.test.html));\n});\n"]}