-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: move config overrides for emulsify-core to their own folder
- Loading branch information
Callin Mullaney
committed
Mar 11, 2024
1 parent
a4030c2
commit c99b564
Showing
6 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": [ | ||
"../../node_modules/emulsify-core/.eslintrc.json" | ||
], | ||
"globals": { | ||
"Drupal": true, | ||
"drupalSettings": true, | ||
"drupalTranslations": true, | ||
"domready": true, | ||
"jQuery": true, | ||
"_": true, | ||
"matchMedia": true, | ||
"Backbone": true, | ||
"Modernizr": true, | ||
"CKEDITOR": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"extends": [ | ||
"../../node_modules/emulsify-core/.stylelintrc.json" | ||
] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = (api) => { | ||
api.cache(true); | ||
|
||
const presets = [ | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
useBuiltIns: 'entry', | ||
corejs: 3, | ||
}, | ||
], | ||
['minify', { builtIns: false }], | ||
]; | ||
|
||
const comments = false; | ||
|
||
return { presets, comments }; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const autoPrefixer = require('autoprefixer'); | ||
|
||
module.exports = { | ||
plugins: [autoPrefixer()], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters