Skip to content

Commit

Permalink
Rename reactcss.js -> index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
casesandberg committed Mar 5, 2017
1 parent cb7401c commit f138278
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.1.1",
"description": "Bringing Classes to Inline Styles",
"author": "case <[email protected]>",
"main": "lib/reactcss.js",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/casesandberg/reactcss"
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions webpack.dev.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

var path = require('path')
var webpack = require('webpack')
const path = require('path')
const webpack = require('webpack')

module.exports = {
entry: ['webpack-dev-server/client?http://localhost:2570', 'webpack/hot/dev-server', './docs/index.js'],
Expand Down Expand Up @@ -31,7 +31,7 @@ module.exports = {
},
resolve: {
alias: {
'reactcss': path.resolve(__dirname, './src/reactcss.js'),
'reactcss': path.resolve(__dirname, './src/index.js'),
},
extensions: ['', '.js', '.jsx', '.cjsx'],
fallback: [path.resolve(__dirname, './modules')],
Expand Down
6 changes: 3 additions & 3 deletions webpack.prod.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

var path = require('path')
var webpack = require('webpack')
const path = require('path')
const webpack = require('webpack')

module.exports = {
entry: ['./docs/index.js'],
Expand Down Expand Up @@ -30,7 +30,7 @@ module.exports = {
},
resolve: {
alias: {
'reactcss': path.resolve(__dirname, './lib/reactcss.js'),
'reactcss': path.resolve(__dirname, './lib/index.js'),
},
extensions: ['', '.js', '.jsx', '.cjsx'],
fallback: [path.resolve(__dirname, './modules')],
Expand Down

0 comments on commit f138278

Please sign in to comment.