Skip to content

Commit f138278

Browse files
committed
Rename reactcss.js -> index.js
1 parent cb7401c commit f138278

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.1.1",
44
"description": "Bringing Classes to Inline Styles",
55
"author": "case <case@casesandberg.com>",
6-
"main": "lib/reactcss.js",
6+
"main": "lib/index.js",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/casesandberg/reactcss"
File renamed without changes.

webpack.dev.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

3-
var path = require('path')
4-
var webpack = require('webpack')
3+
const path = require('path')
4+
const webpack = require('webpack')
55

66
module.exports = {
77
entry: ['webpack-dev-server/client?http://localhost:2570', 'webpack/hot/dev-server', './docs/index.js'],
@@ -31,7 +31,7 @@ module.exports = {
3131
},
3232
resolve: {
3333
alias: {
34-
'reactcss': path.resolve(__dirname, './src/reactcss.js'),
34+
'reactcss': path.resolve(__dirname, './src/index.js'),
3535
},
3636
extensions: ['', '.js', '.jsx', '.cjsx'],
3737
fallback: [path.resolve(__dirname, './modules')],

webpack.prod.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

3-
var path = require('path')
4-
var webpack = require('webpack')
3+
const path = require('path')
4+
const webpack = require('webpack')
55

66
module.exports = {
77
entry: ['./docs/index.js'],
@@ -30,7 +30,7 @@ module.exports = {
3030
},
3131
resolve: {
3232
alias: {
33-
'reactcss': path.resolve(__dirname, './lib/reactcss.js'),
33+
'reactcss': path.resolve(__dirname, './lib/index.js'),
3434
},
3535
extensions: ['', '.js', '.jsx', '.cjsx'],
3636
fallback: [path.resolve(__dirname, './modules')],

0 commit comments

Comments
 (0)