We're updating the issue view to help you get more done.Learn more

Remove zanata-ui and atomic css from build scripts in frontend

References to zanata-ui and atomic css have not been removed from package/webpack files in ZNTA-1606 - my attempts to do this just gave me build errors.

ZNTA-1606 just covers the complete removal of atomic css classes from containers, components and templates in frontend, but not from the builds itself. *References to atomic/zanata-ui will need to be removed from the build scripts before merging into master*

This is what I tried to do:

1. Removed zanata-ui successfully using yarn remove... in frontend
2. Removed line in webpack: path.join(__dirname, 'node_modules/zanata-ui/dist')
3. Build.

I got the following error:

modulesModuleParseError: Module parse failed: /Users/kathryngough/node_modules/zanata-ui/dist/zanata-ui.css Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected character '@' (1:0)
at Parser.pp$4.raise (/Users/kathryngough/IdeaProjects/zanata-platform/server/zanata-frontend/src/frontend/node_modules/acorn/dist/acorn.js:2221:15)......

I am unable to put ZNTA-1606 on review until this has been resolved. That is, frontend builds and runs successfully without any reference to either ui or atomic.



Alex Eng


Kathryn Gough

Tested Version/s





Fix versions