issues
search
Lordnibbler
/
railsblog
My personal website
http://benradler.com
0
stars
0
forks
source link
Ditch shakapacker
#274
Open
Lordnibbler
opened
5 months ago
Lordnibbler
commented
5 months ago
Todo
[x] tailwind
work-bg-light
and
work-bg-dark
classes image
url()
is loading an svg at the wrong path (with a random SHA)
also photoswipe svg and gif assets are being written as a random SHA to the root of
public/packs
solved via
https://github.com/webpack-contrib/css-loader/issues/1358
(
https://webpack.js.org/guides/asset-modules/
)
[x] photoswipe not working properly on photography page
disabling splitChunks fixes it
[x] photoswipe image assets not being loaded (paths are wrong?)
[ ] can we re-enable split chunks?
[ ] double check all paths to assets are updated on all pages
[ ] set up webpack-dev-server + HMR
[ ] activeadmin
https://github.com/activeadmin/activeadmin/issues/7376#issuecomment-1068156794
we can use this webpack config
https://github.com/activeadmin/activeadmin/issues/7376#issuecomment-1067830592
consider
https://github.com/thoughtbot/administrate
consider rolling your own crud
tried this
https://github.com/Lordnibbler/railsblog/tree/webpack-1-active-admin
[ ] test it in prod mode/deploy it
[ ] comments/todos in code
Todo
work-bg-light
andwork-bg-dark
classes imageurl()
is loading an svg at the wrong path (with a random SHA)public/packs