Skip to content

Commit 72ae546

Browse files
author
Matt Lewis
committed
feat(styles): move css files into the css root directory
BREAKING CHANGE: css styles have moved from dist/css/angular-calendar.css to css/angular-calendar.css
1 parent cd40235 commit 72ae546

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/ISSUE_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FAQ (please read!):
44
55
Problems with build tooling? Please check the examples folder first: https://github.com/mattlewis92/angular-calendar/tree/master/build-tool-examples
66
7-
Styling not appearing? Make sure you're including node_modules/angular-calendar/dist/css/angular-calendar.css
7+
Styling not appearing? Make sure you're including node_modules/angular-calendar/css/angular-calendar.css
88
99
Need an example of how to do something? Check the demo page, it probably has you covered: https://mattlewis92.github.io/angular-calendar/demos/
1010

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ npm install --save angular-calendar
4242
Next include the CSS file somewhere into your app:
4343

4444
```
45-
node_modules/angular-calendar/dist/css/angular-calendar.css
45+
node_modules/angular-calendar/css/angular-calendar.css
4646
```
4747

4848
Finally import the calendar module into your apps module:
@@ -106,7 +106,7 @@ See the [examples list](https://github.com/mattlewis92/angular-calendar/tree/mas
106106

107107
### No styles are appearing?
108108

109-
No component styles are included with each component to make it easier to override them (otherwise you’d have to use `!important` on every rule that you customised). Thus you need to import the CSS file separately from `node_modules/angular-calendar/dist/css/angular-calendar.css`.
109+
No component styles are included with each component to make it easier to override them (otherwise you’d have to use `!important` on every rule that you customised). Thus you need to import the CSS file separately from `node_modules/angular-calendar/css/angular-calendar.css`.
110110

111111
### How come there are so many dependencies?
112112

demos/demo-app.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class DemoAppComponent implements OnInit {
135135
})
136136
.addNpmPackage('angular-calendar', {
137137
version: dependencyVersions.angularCalendar,
138-
filename: 'dist/css/angular-calendar.css'
138+
filename: 'css/angular-calendar.css'
139139
})
140140
.addNpmPackage('zone.js', { version: dependencyVersions.zoneJs })
141141
.addNpmPackage('zone.js', {

webpack.config.umd.ts

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export default {
9999
failOnError: true
100100
}),
101101
new ExtractTextPlugin('./../css/angular-calendar.css'),
102+
new ExtractTextPlugin('./../dist/css/angular-calendar.css'),
102103
new webpack.SourceMapDevToolPlugin({
103104
filename: 'angular-calendar.js.map',
104105
test: /\.js($|\?)/i

0 commit comments

Comments
 (0)