Skip to content

Commit

Permalink
feat: config cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lubomirblazekcz authored Feb 4, 2022
1 parent 9e10f82 commit 0df8a35
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { defineConfig } from '@newlogic-digital/core'
import cms from "./src/module.cms.js"

export default defineConfig({
config: true,
modules: {cms},
serve: {
https: true
},
scripts: {
importResolution: {
directories: ['Components', 'Sections', 'Layout', 'Libraries', 'Utils/Functions', 'Ui']
Expand All @@ -18,8 +12,7 @@ export default defineConfig({
},
styles: {
purge: {
enabled: true,
content: ['src/scripts/**/*.js', 'src/templates/**/*.twig', 'www/templates/**/*.tpl', 'temp/cdn/*.js', 'admin_ex/js/templates/*.html', 'index.html'],
content: ['src/scripts/**/*.js', 'src/templates/**/*.twig', 'www/templates/**/*.tpl', 'temp/cdn/*.js'],
options: {
safelist: {
standard: [/(class|is-|to-|grecaptcha)/],
Expand Down

0 comments on commit 0df8a35

Please sign in to comment.