-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
10.8 #955
base: main
Are you sure you want to change the base?
10.8 #955
Conversation
root: true, | ||
globals: { | ||
Drupal: true, | ||
jQuery: true, | ||
_: true, | ||
// _: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There’s an empty spacing.json file. Beyond that it’s worth noting this approach will break Octane scripts, which now is configured to separate the theme, module, and particle into separate directories. Considering the priority of the Octane project, I wouldn’t expect this to be changed until the New Year.
path: APP_DIST, | ||
publicPath: APP_DIST_PUBLIC, | ||
// Output all CSS/JS/images/twig to dist/ within drupal theme | ||
path: path.resolve(__dirname, 'particle_theme/dist'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Octane programmatically moves this directory.
|
||
// Constants: environment | ||
const { NODE_ENV, PARTICLE_PL_HOST = '' } = process.env; | ||
// Constants: root | ||
const { PATTERN_LAB_DIST } = require('../../particle.root.config'); | ||
const { PATH_DIST } = require('../../particle.root.config'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we undoing having particle split out from the Drupal theme?
module.exports = ({ options, env }) => { | ||
const tailWindPath = path.resolve( | ||
__dirname, | ||
'./source/default/tailwind.config.js' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be nice to set up as config since default may not survive as a name.
extend: {}, | ||
}, | ||
variants: {}, | ||
plugins: [tailwindCustomForms], | ||
future: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth a comment here that future can be removed in Tailwind 2.0
No description provided.