Skip to content

Commit

Permalink
Using the default configuration of CRA, with Tailwind watch separately (
Browse files Browse the repository at this point in the history
#1441)

Co-authored-by: Gigin George <[email protected]>
  • Loading branch information
brainless and gigincg authored Jun 29, 2021
1 parent 036057a commit e3fdb48
Show file tree
Hide file tree
Showing 33 changed files with 46,663 additions and 9,048 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ public/build-meta.json
*.bs.js
*.gen.tsx
*.gen

# Generated CSS file from Tailwind
src/style/index.css
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN npm run build

#production-stage
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY --from=build-stage /app/build /usr/share/nginx/html
COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
17 changes: 8 additions & 9 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Cypress.Commands.add('verifyNotification', (text) => {
cy.get('.pnotify-container').should('exist').contains(text)
cy.get('.pnotify-container').click()
})

Cypress.Commands.add("verifyNotification", (text) => {
cy.get(".pnotify-container").should("exist").contains(text);
cy.get(".pnotify-container").click();
});

declare namespace Cypress {
interface Chainable<Subject = any> {
verifyNotification(text: String): Chainable<Subject>;
}
}
interface Chainable<Subject = any> {
verifyNotification(text: String): Chainable<Subject>;
}
}
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build]
publish = "dist/"
publish = "build/"

[[redirects]]
from = "/api/*"
Expand Down
Loading

0 comments on commit e3fdb48

Please sign in to comment.