Faris Ansari
e5e39af9b9
fix: Support single file builds in build.json
4 anni fa
Gavin D'souza
f53fe3e854
feat: Ship Built Assets
4 anni fa
barredterra
8398b8b6d8
feat: add autoprefixer
4 anni fa
Faris Ansari
5b54cba2cb
fix: Remove all traces of Tailwind from codebase 😢
5 anni fa
Sagar Vora
4d80b592e2
fix: merge conflict
5 anni fa
Sagar Vora
44b78e7fb2
fix: proper sass mapping and always failing test
5 anni fa
Faris Ansari
ebf0e04e5e
style: Fix linting errors
5 anni fa
Sagar Vora
c2f566163e
feat: source maps for css/scss/less files!
5 anni fa
Faris Ansari
6ac3fe4ed7
chore: Add postcss-nested plugin
5 anni fa
Faris Ansari
1632653a39
chore: Log full warning
5 anni fa
Faris Ansari
2431767fdf
feat: Page Builder based on Tailwind
- Website Theme based on: Bootstrap 4, Tailwind
- Web Page: Page Builder
- Web Template: Create templates for web pages
- Added some common Web Templates
- Components: Standard components directly usable in Jinja
- Purge Tailwind Classes in Production
- PostCSS Config to support tailwind
5 anni fa
Faris Ansari
c07944c2c4
fix(rollup): Use terser instead of uglify
6 anni fa
Suraj Shetty
1b48f6e6df
revert: fix(build): Disable spread transpilation
This reverts commit 7fee2c42f3
.
6 anni fa
Suraj Shetty
7fee2c42f3
fix(build): Disable spread transpilation
- https://github.com/bublejs/buble/issues/81
6 anni fa
Faris Ansari
698bf208ab
fix: Common scss options for theme generator and rollup scss
6 anni fa
Faris Ansari
d1c5c263b5
fix(Quill): Use a local copy of quill-mention
quill-mention's distribution copy is built with webpack
so it doesn't work with rollup
6 anni fa
Faris Ansari
6316917274
fix(rollup): Add message to indicate addition of new dependency
6 anni fa
Faris Ansari
10534276e5
Quill editor ( #6159 )
* feat(Text Editor): Quill Editor
* fix: Add imageDrop module
- prevent default events
* refactor(Comment): Comment is now frappe control
- Use quill's bubble theme for comment control
* feat: Support @mentions in comment area
- Uses quill-mention package
* fix: Use setContents to fix autofocus bug
* fix: Spaces to Tabs
* fix: Missing semicolon
* fix: Fix style
* fix: Remove all of summernote
- Remove comment.js (use fieldtype: 'Comment')
- Add quill styles to webform.css
* fix: Replace color/background with indent/outdent
6 anni fa
Nabin Hait
b4c063e96c
fix(syntax): rollup config
6 anni fa
Faris Ansari
91d3731a60
feat(rollup): Ability to import assets from any app
To import a js file from the frappe app into any app
```
import 'frappe/public/js/frappe/ui/comment.js';
```
6 anni fa
Faris Ansari
86ff0851a0
style: fix linting issues ( #6026 )
6 anni fa
Prateeksha Singh
2b672d2ee7
Add Vue Support ( #6025 )
* [frappe][build] Add Vue
* chore(rollup): add node_modules path for all apps
- also remove rollup-plugin-alias
* feat: Add EventEmitter
Usage:
```
frappe.utils.make_event_emitter(obj);
obj.trigger('event');
obj.on('event', fn);
```
* chore: Update rollup
* fix: add comment_when to frappe.datetime
* feat: Add img-loading class
* feat: Add .vue files for translation extraction
* [frappe][build] Add Vue
* chore(rollup): add node_modules path for all apps
- also remove rollup-plugin-alias
* feat: Add EventEmitter
Usage:
```
frappe.utils.make_event_emitter(obj);
obj.trigger('event');
obj.on('event', fn);
```
* chore: Update rollup
* fix: add comment_when to frappe.datetime
* feat: Add img-loading class
6 anni fa
Faris Ansari
32b4977596
Create a moment bundle and include it in webform
7 anni fa
Faris Ansari
a70d56fd04
Website related fixes ( #5660 )
* bench build --app app_name
* Use highlight.js as npm package
* Add fenced-code-blocks to markdown compiler
* Support for next-prev links
7 anni fa
Faris Ansari
00ebc34d39
[build] Don't minify css files if they are part of project ( #5405 )
- fixes the email.css problem
7 anni fa
Faris Ansari
5a4334a35a
Add error logs in rollup watch ( #5385 )
* Add error logs in rollup watch
* Show frame when it is available
7 anni fa
Faris Ansari
9f5a129333
Rollup Fixes ( #5232 )
- Use PostCSS instead of Less plugin
- Fixes CSS append problem
- Show which css file changed instead of rollup.manifest.css
- Minify CSS in production
- Cannot import less/css files in js files, put them in build.json
- Let's avoid major changes in Frappe Framework now :)
7 anni fa
Faris Ansari
55e5b473d0
Better messages for build commands ( #5117 )
* Better rollup messages in console
* Remove 'docs folder not found' warning
* Show production message
* fix codacy
7 anni fa